MVP
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andrey Gumirov
2022-05-01 01:56:47 +07:00
parent 56adc16b04
commit 80584dbaf9
6 changed files with 58 additions and 8 deletions

View File

@ -7,6 +7,24 @@ services:
ports:
- 5001:5000
bot:
build:
context: .
dockerfile: Dockerfile
environment:
- DB_ADDR=pgdb:5432
- GROUP_ID=${GROUP_ID}
- NFT_ADDR=http://image_gen:5001
- PASS=${PG_PASS}
- REDIS_ADDR=redis
- TMP_DIR=./tmp
- TOKEN=${TOKEN}
- USER=${PG_USER}
depends_on:
- pgdb
- redis
- image_gen
pgdb:
image: 'postgres:12'
restart: always
@ -17,12 +35,12 @@ services:
- PGDATA=/var/lib/postgresql/data/pgdata
# volumes:
# - ${PG_MNT}:/var/lib/postgresql/data
ports:
- ${PG_OUTBOUND_PORT}:5432
# ports:
# - ${PG_OUTBOUND_PORT}:5432
redis:
image: "redis:alpine"
command: redis-server --appendonly yes --appendfsync everysec
ports:
- 6379:6379
# ports:
# - 6379:6379
# volumes:
# - ${FDS_REDIS_MNT}:/data