court/docker-compose.yaml
2024-03-28 11:29:32 +01:00

18 lines
322 B
YAML

services:
db:
image: postgres:16-alpine
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: bonjour
POSTGRES_DB: court
volumes:
- ./initdb/:/docker-entrypoint-initdb.d
court:
build: .
ports:
- 8000:8080
environment:
DB_HOST: db
depends_on:
- db