docker: Update envvar names

This commit is contained in:
Steffo 2024-12-13 04:48:42 +01:00
parent 04b6904400
commit fa699ed380
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -70,7 +70,7 @@ services:
- "source=.." - "source=.."
target: "migrate" target: "migrate"
environment: environment:
ACRATE_DATABASE_DATABASE_URL: &database_url "postgres:///postgres?host=database&user=postgres&password=acrate" # TODO: Split parameters off to their own envvars ACRATE_DATABASE_URL: &database_url "postgres:///postgres?host=database&user=postgres&password=acrate"
depends_on: depends_on:
database: database:
condition: "service_healthy" condition: "service_healthy"
@ -85,7 +85,7 @@ services:
restart: "unless-stopped" restart: "unless-stopped"
environment: environment:
ACRATE_WEBFINGER_BIND_ADDRESS: "0.0.0.0:80" ACRATE_WEBFINGER_BIND_ADDRESS: "0.0.0.0:80"
ACRATE_WEBFINGER_DATABASE_URL: *database_url ACRATE_DATABASE_URL: *database_url
expose: expose:
- 80 - 80
depends_on: depends_on: