backend/docker-compose.yml

20 lines
369 B
YAML

version: "3"
services:
postgres:
image: "postgres"
container_name: "postgres"
environment:
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- POSTGRES_DB=db
- POSTGRES_USER=debug
- POSTGRES_PASSWORD=debug
ports:
- "5432:5432"
network_mode: "host"
redis:
image: "redis:alpine"
ports:
- "6379:6379"