court/docker-compose.yaml

19 lines
322 B
YAML
Raw Normal View History

2024-03-28 11:29:32 +01:00
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