From 0a61199bd77c6148bd97f5d4060e569e575e7eb6 Mon Sep 17 00:00:00 2001 From: hcornet Date: Sun, 31 Mar 2024 20:08:32 +0200 Subject: [PATCH] mise en forme --- Authentik/docker-compose.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/Authentik/docker-compose.yml b/Authentik/docker-compose.yml index 23c44f88..1756972b 100644 --- a/Authentik/docker-compose.yml +++ b/Authentik/docker-compose.yml @@ -1,7 +1,4 @@ ---- -version: "3.7" - -#### networks +#### NETWORKS networks: docker-traefik_front_network: external: true @@ -9,8 +6,10 @@ networks: driver: bridge attachable: true -#### services +#### SERVICES services: + +### postgresql postgresql: container_name: authentik-postgres hostname: authentik-postgres @@ -34,6 +33,7 @@ services: env_file: - .env +### redis redis: container_name: authentik-redis hostname: authentik-redis @@ -51,6 +51,7 @@ services: volumes: - ./redis:/data +### authentik-server server: container_name: authentik-server hostname: authentik-server @@ -79,7 +80,7 @@ services: - redis labels: - "traefik.enable=true" - - "traefik.docker.network=interne" + - "traefik.docker.network=docker-traefik_front_network" # HTTP - "traefik.http.routers.authentik-http.rule=Host(`authentik.10.0.4.29.traefik.me`)" - "traefik.http.routers.authentik-http.entrypoints=http" @@ -87,13 +88,12 @@ services: - "traefik.http.routers.authentik-https.rule=Host(`authentik.10.0.4.29.traefik.me`)" - "traefik.http.routers.authentik-https.entrypoints=https" - "traefik.http.routers.authentik-https.service=authentik-service" -# - "traefik.http.routers.authentik-https.middlewares=authentik-addprefix" - "traefik.http.routers.authentik-https.tls=true" # Middleware -# - "traefik.http.middlewares.authentik-addprefix.addprefix.prefix=/if/admin" # Service - "traefik.http.services.authentik-service.loadbalancer.server.port=9000" +### authentik-worker worker: container_name: authentik-worker hostname: authentik-worker @@ -126,9 +126,3 @@ services: depends_on: - postgresql - redis - -#volumes: -# database: -# driver: local -# redis: -# driver: local