From 5bcd951bcf3f7b85d6b733fce29710227e248390 Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Fri, 13 Sep 2024 12:28:43 +0800 Subject: [PATCH] Refactor file paths in authentik.yml for media, certs, and custom templates --- swarm/authentik.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/swarm/authentik.yml b/swarm/authentik.yml index 40cfbbf..3475509 100644 --- a/swarm/authentik.yml +++ b/swarm/authentik.yml @@ -41,8 +41,8 @@ services: AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik} AUTHENTIK_POSTGRESQL__PASSWORD: ${POSTGRES_PASSWORD} volumes: - - ./media:/media - - ./custom-templates:/templates + - /var/data/authentik/media:/media + - /var/data/authentik/custom-templates:/templates # env_file: # - .env expose: @@ -83,9 +83,9 @@ services: user: root volumes: - /var/run/docker.sock:/var/run/docker.sock - - ./media:/media - - ./certs:/certs - - ./custom-templates:/templates + - /var/data/authentik/media:/media + - /var/data/authentik/certs:/certs + - /var/data/authentik/custom-templates:/templates # env_file: # - .env depends_on: