Upload files to "/"
This commit is contained in:
parent
66e906f139
commit
664657d9d0
1 changed files with 35 additions and 0 deletions
35
docker-compose.yml
Normal file
35
docker-compose.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
bot:
|
||||
# image: securetowntop/ua-bot:arm64-latest
|
||||
image: 374fe5dee955
|
||||
restart: always
|
||||
env_file:
|
||||
- ./.env
|
||||
volumes:
|
||||
- ./nicknames.txt:/app/nicknames.txt
|
||||
- ./domains.txt:/app/domains.txt
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- default
|
||||
|
||||
db:
|
||||
restart: unless-stopped
|
||||
restart: always
|
||||
image: postgres:15-alpine
|
||||
networks:
|
||||
- default
|
||||
env_file:
|
||||
- .db.env
|
||||
volumes:
|
||||
- ./db:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
|
||||
interval: 5s
|
||||
retries: 20
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
Loading…
Reference in a new issue