# API container.
# Set API_BIND_ADDRESS to the Docker host interface reachable by the external
# reverse proxy. Use 0.0.0.0 for LAN-wide exposure, or a specific host IP to
# restrict where Docker publishes the port.
API_BIND_ADDRESS=0.0.0.0
API_PORT=8080
MIGRATE_ON_STARTUP=true

# PostgreSQL container bootstrap values. Replace the password before deploying.
POSTGRES_DB=gametime
POSTGRES_USER=gametime
POSTGRES_PASSWORD=change-me

# API database connection values. With this docker-compose.yaml, the database
# host is the Compose service name `postgres`.
DATABASE_HOST=postgres
DATABASE_PORT=5432
DATABASE_NAME=gametime
DATABASE_USER=gametime
DATABASE_PASSWORD=change-me

# External HTTPS is terminated by a reverse proxy running outside this Compose
# stack. Point that proxy to http://<docker-host>:${API_PORT}.
