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
.db.env
blacklist.txt
whitelist.txt
uabot

View file

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