Files
es-bot/docker-compose.yml
Andrey Gumirov e1bd7234ed MVP
2022-05-01 00:57:58 +07:00

29 lines
619 B
YAML

version: "2"
services:
image_gen:
build:
context: ./nft_svc
dockerfile: Dockerfile
ports:
- 5001:5000
pgdb:
image: 'postgres:12'
restart: always
environment:
- POSTGRES_USER=${PG_USER}
- POSTGRES_PASSWORD=${PG_PASS}
- POSTGRES_DB=db
- PGDATA=/var/lib/postgresql/data/pgdata
# volumes:
# - ${PG_MNT}:/var/lib/postgresql/data
ports:
- ${PG_OUTBOUND_PORT}:5432
redis:
image: "redis:alpine"
command: redis-server --appendonly yes --appendfsync everysec
ports:
- 6379:6379
# volumes:
# - ${FDS_REDIS_MNT}:/data