chess-monolith / docker-compose.yml
mighttguy's picture
Add chess-frontend
82208bb
Raw History Blame Contribute Delete
693 Bytes
services:
postgres:
image: postgres:16-alpine
container_name: chess-postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: chess
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- chess-network
redis:
image: redis:7-alpine
container_name: chess-redis
restart: unless-stopped
command: redis-server --appendonly yes
ports:
- "6379:6379"
volumes:
- redis_data:/data
networks:
- chess-network
volumes:
postgres_data:
redis_data:
networks:
chess-network:
name: chess-network