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=.."
target: "migrate"
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:
database:
condition: "service_healthy"
@ -85,7 +85,7 @@ services:
restart: "unless-stopped"
environment:
ACRATE_WEBFINGER_BIND_ADDRESS: "0.0.0.0:80"
ACRATE_WEBFINGER_DATABASE_URL: *database_url
ACRATE_DATABASE_URL: *database_url
expose:
- 80
depends_on: