fix docker compose

This commit is contained in:
qugalet 2024-01-05 19:29:23 +00:00
parent 03dc5753d4
commit 45fb7b5fce
2 changed files with 8 additions and 6 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
.env .env
.db.env
blacklist.txt blacklist.txt
whitelist.txt whitelist.txt
uabot uabot

View file

@ -3,13 +3,14 @@ version: '3'
services: services:
bot: bot:
# image: securetowntop/ua-bot:arm64-latest # image: securetowntop/ua-bot:arm64-latest
image: 374fe5dee955 # image: 374fe5dee955
build: .
restart: always restart: always
env_file: env_file:
- ./.env - ./.env
volumes: volumes:
- ./nicknames.txt:/app/nicknames.txt - ./whitelist.txt:/app/whitelist.txt
- ./domains.txt:/app/domains.txt - ./blacklist.txt:/app/blacklist.txt
depends_on: depends_on:
- db - db
networks: networks:
@ -17,7 +18,7 @@ services:
db: db:
restart: unless-stopped restart: unless-stopped
restart: always # restart: always
image: postgres:15-alpine image: postgres:15-alpine
networks: networks:
- default - default