fix: adguard and authentik use /opt bind mounts (original Portainer paths)
Data was in /opt/adguard/{work,conf} and /opt/authentik/{postgres,redis}
all along. Previous commit used named volumes which would ignore this data.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -6,8 +6,8 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- adguard-work-path:/opt/adguardhome/work:Z
|
- /opt/adguard/work:/opt/adguardhome/work:Z
|
||||||
- adguard-conf-path:/opt/adguardhome/conf:Z
|
- /opt/adguard/conf:/opt/adguardhome/conf:Z
|
||||||
- adguard-cert-crt-path:/certs/adguard.crt:ro,Z
|
- adguard-cert-crt-path:/certs/adguard.crt:ro,Z
|
||||||
- adguard-cert-key-path:/certs/adguard.key:ro,Z
|
- adguard-cert-key-path:/certs/adguard.key:ro,Z
|
||||||
|
|
||||||
@@ -26,8 +26,6 @@ services:
|
|||||||
traefik.http.services.adguard.loadbalancer.server.port: "${ADGUARD_HTTP_PORT}"
|
traefik.http.services.adguard.loadbalancer.server.port: "${ADGUARD_HTTP_PORT}"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
adguard-work-path:
|
|
||||||
adguard-conf-path:
|
|
||||||
adguard-cert-crt-path:
|
adguard-cert-crt-path:
|
||||||
adguard-cert-key-path:
|
adguard-cert-key-path:
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ services:
|
|||||||
POSTGRES_USER: ${AUTHENTIK_DB_USER}
|
POSTGRES_USER: ${AUTHENTIK_DB_USER}
|
||||||
POSTGRES_DB: ${AUTHENTIK_DB_NAME}
|
POSTGRES_DB: ${AUTHENTIK_DB_NAME}
|
||||||
volumes:
|
volumes:
|
||||||
- authentik-postgres-path:/var/lib/postgresql/data:Z
|
- /opt/authentik/postgres:/var/lib/postgresql/data:Z
|
||||||
networks:
|
networks:
|
||||||
- ths_authentik_internal
|
- ths_authentik_internal
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: ["redis-server", "--save", "60", "1", "--loglevel", "warning"]
|
command: ["redis-server", "--save", "60", "1", "--loglevel", "warning"]
|
||||||
volumes:
|
volumes:
|
||||||
- authentik-redis-path:/data:Z
|
- /opt/authentik/redis:/data:Z
|
||||||
networks:
|
networks:
|
||||||
- ths_authentik_internal
|
- ths_authentik_internal
|
||||||
|
|
||||||
@@ -86,10 +86,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- ths_authentik_internal
|
- ths_authentik_internal
|
||||||
|
|
||||||
volumes:
|
|
||||||
authentik-postgres-path:
|
|
||||||
authentik-redis-path:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user