updated compose

This commit is contained in:
2025-07-11 07:02:59 +00:00
parent 623d61e3d3
commit abcdf62f0f

View File

@ -74,14 +74,14 @@ sudo echo "AUTHENTIK_SECRET_KEY=$(openssl rand 60 | base64)" >> .env
:: ::
Ouvrez dockge, et cherchez "authentik" dans les stack inactives. Ouvrez dockge, et cherchez "authentik" dans les stack inactives.
Nommez la stack authentik et collez la configuration suivante, en changeant les chiffres de `{AUTHENTIK_TAG:-2024.2.3}`{lang=properties} par [la dernière version de Authentik](https://version-2024-6.goauthentik.io/docs/releases). Nommez la stack authentik et collez la configuration suivante, en changeant les chiffres de `{AUTHENTIK_TAG:-2025.2.1}`{lang=properties} par [la dernière version de Authentik](https://version-2024-6.goauthentik.io/docs/releases).
```yaml ```yaml
--- ---
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:
@ -118,7 +118,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
@ -131,7 +131,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
@ -143,7 +142,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
@ -165,7 +164,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