updated compose

This commit is contained in:
2025-07-11 07:01:33 +00:00
parent e30693d39e
commit 208f95c5ab

View File

@ -80,7 +80,7 @@ Name the stack `authentik` and paste the following configuration, replacing `{AU
services: services:
postgresql: postgresql:
image: docker.io/library/postgres:12-alpine image: docker.io/library/postgres:16-alpine
container_name: authentik-postgresql container_name: authentik-postgresql
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
@ -117,7 +117,7 @@ services:
- redis:/data - redis:/data
server: server:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.2.3} image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2025.2.1}
container_name: authentik-server container_name: authentik-server
restart: unless-stopped restart: unless-stopped
command: server command: server
@ -130,7 +130,6 @@ services:
volumes: volumes:
- ./media:/media - ./media:/media
- ./custom-templates:/templates - ./custom-templates:/templates
- ./auth.css:/web/dist/custom.css
- ./ssh:/authentik/.ssh - ./ssh:/authentik/.ssh
env_file: env_file:
- .env - .env
@ -142,7 +141,7 @@ services:
- redis - redis
worker: worker:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.2.3} image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2025.2.1}
container_name: authentik-worker container_name: authentik-worker
restart: unless-stopped restart: unless-stopped
command: worker command: worker
@ -164,7 +163,6 @@ services:
- ./media:/media - ./media:/media
- ./certs:/certs - ./certs:/certs
- ./custom-templates:/templates - ./custom-templates:/templates
- ./auth.css:/web/dist/custom.css
- ./ssh:/authentik/.ssh - ./ssh:/authentik/.ssh
env_file: env_file:
- .env - .env