Update docker-compose.yml

upgrade postgresql image version and define static authentik server image version
This commit is contained in:
LRVT 2023-09-29 11:50:31 +02:00 committed by GitHub
parent 4c2a9b1d01
commit a410c43f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ version: "3.4"
services:
postgresql:
image: docker.io/library/postgres:15-alpine
image: docker.io/library/postgres:16-alpine
container_name: authentik-psql
restart: unless-stopped
healthcheck:
@ -19,7 +19,7 @@ services:
POSTGRES_USER: ${PG_USER:-authentik}
POSTGRES_DB: ${PG_DB:-authentik}
env_file:
- .env
- .env
networks:
- authentik-internal
@ -40,7 +40,7 @@ services:
- authentik-internal
authentik-proxy:
image: ghcr.io/goauthentik/server:latest
image: ghcr.io/goauthentik/server:2023.8
container_name: authentik
restart: unless-stopped
command: server
@ -58,7 +58,7 @@ services:
- 9000
- 9443
env_file:
- .env
- .env
depends_on:
- postgresql
- redis
@ -75,7 +75,7 @@ services:
- traefik.http.middlewares.authentik.forwardauth.authResponseHeaders=X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid,X-authentik-jwt,X-authentik-meta-jwks,X-authentik-meta-outpost,X-authentik-meta-provider,X-authentik-meta-app,X-authentik-meta-version
worker:
image: ghcr.io/goauthentik/server:latest
image: ghcr.io/goauthentik/server:2023.8
container_name: authentik-worker
restart: unless-stopped
command: worker