From 45fb7b5fce60a516d31f9d8387d8b05f75b04fb8 Mon Sep 17 00:00:00 2001 From: qugalet Date: Fri, 5 Jan 2024 19:29:23 +0000 Subject: [PATCH] fix docker compose --- .gitignore | 1 + docker-compose.yml | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 6243184..871f2b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .env +.db.env blacklist.txt whitelist.txt uabot diff --git a/docker-compose.yml b/docker-compose.yml index cf01382..a81ac35 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 @@ -30,6 +31,6 @@ services: interval: 5s retries: 20 - networks: - default: +networks: + default: