feat(dc): introduce variable for POSTGRES_HOST and POSTGRES_PORT
This commit is contained in:
parent
c0a5672dd7
commit
10a9686f4d
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ services:
|
|||
umami:
|
||||
image: ghcr.io/umami-software/umami:postgresql-v2.17.0@sha256:837eb91c54200f6f087e5c21d5f050ceb3b659eed49af91402dac04dd53bbac1
|
||||
environment:
|
||||
DATABASE_URL: postgresql://${DC_UMAMI_PG_USR:?}:${DC_UMAMI_PG_PASS:?}@db:5432/${DC_UMAMI_PG_DB:?}
|
||||
DATABASE_URL: postgresql://${DC_UMAMI_PG_USR:?}:${DC_UMAMI_PG_PASS:?}@${DC_UMAMI_PG_HOST:-db}:${DC_UMAMI_PG_PORT:-5432}/${DC_UMAMI_PG_DB:?}
|
||||
DATABASE_TYPE: postgresql
|
||||
APP_SECRET: ${DC_UMAMI_APP_SECRET:?}
|
||||
depends_on:
|
||||
|
@ -17,7 +17,7 @@ services:
|
|||
retries: 5
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.umami.rule=Host(`${DC_UMAMI_HOSTNAME:?}`)" # replace this!
|
||||
- "traefik.http.routers.umami.rule=Host(`${DC_UMAMI_HOSTNAME:?}`)"
|
||||
- "traefik.http.routers.umami.entrypoints=websecure"
|
||||
- "traefik.http.services.umami.loadbalancer.server.port=3000"
|
||||
- "traefik.http.middlewares.umami-headers.headers.customrequestheaders.X-Forwarded-Proto=https"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue