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

This commit is contained in:
Andrey Gumirov
2022-05-01 02:00:20 +07:00
parent d9c9f8f131
commit 65ed6f9fa6

View File

@ -33,8 +33,8 @@ services:
- POSTGRES_PASSWORD=${PG_PASS}
- POSTGRES_DB=db
- PGDATA=/var/lib/postgresql/data/pgdata
# volumes:
# - ${PG_MNT}:/var/lib/postgresql/data
volumes:
- bot_pg_data:/var/lib/postgresql/data
# ports:
# - ${PG_OUTBOUND_PORT}:5432
redis:
@ -42,5 +42,9 @@ services:
command: redis-server --appendonly yes --appendfsync everysec
# ports:
# - 6379:6379
# volumes:
# - ${FDS_REDIS_MNT}:/data
volumes:
- bot_redis_data:/data
volumes:
bot_pg_data:
bot_redis_data: