Fix secrets/configs naming

This commit is contained in:
Colin Hebert
2024-08-25 18:41:27 +10:00
parent bbf800e746
commit a4e61a5f31

View File

@@ -22,13 +22,13 @@ services:
volumes: volumes:
- ${NASCOMPOSE_SERVICES?}/authentication/volumes/authelia_config/:/config/ - ${NASCOMPOSE_SERVICES?}/authentication/volumes/authelia_config/:/config/
# Configuration # Configuration
- ${NASCOMPOSE_SERVICES?}/authentication/configs/configuration.yml:/etc/authelia/configuration.yml:ro - ${NASCOMPOSE_SERVICES?}/authentication/configs/authelia_configuration.yml:/etc/authelia/configuration.yml:ro
- ${NASCOMPOSE_SERVICES?}/authentication/configs/access.yml:/etc/authelia/access.yml:ro - ${NASCOMPOSE_SERVICES?}/authentication/configs/authelia_access.yml:/etc/authelia/access.yml:ro
- ${NASCOMPOSE_SERVICES?}/authentication/configs/authentication.yml:/etc/authelia/authentication.yml:ro - ${NASCOMPOSE_SERVICES?}/authentication/configs/authelia_authentication.yml:/etc/authelia/authentication.yml:ro
# Secrets # Secrets
- ${NASCOMPOSE_SERVICES?}/authentication/secrets/jwt_secret:/run/secrets/jwt_secret:ro - ${NASCOMPOSE_SERVICES?}/authentication/secrets/authelia_jwt_secret:/run/secrets/jwt_secret:ro
- ${NASCOMPOSE_SERVICES?}/authentication/secrets/storage_key:/run/secrets/storage_key:ro - ${NASCOMPOSE_SERVICES?}/authentication/secrets/authelia_storage_key:/run/secrets/storage_key:ro
- ${NASCOMPOSE_SERVICES?}/authentication/secrets/smtp_password:/run/secrets/smtp_password:ro - ${NASCOMPOSE_SERVICES?}/authentication/secrets/authelia_smtp_password:/run/secrets/smtp_password:ro
restart: unless-stopped restart: unless-stopped
labels: labels:
traefik.enable: true traefik.enable: true
@@ -38,8 +38,8 @@ services:
environment: environment:
UID: ${NASCOMPOSE_UID?} UID: ${NASCOMPOSE_UID?}
GID: ${NASCOMPOSE_GID?} GID: ${NASCOMPOSE_GID?}
LLDAP_JWT_SECRET_FILE: /run/secrets/lldap_jwt_secret LLDAP_JWT_SECRET_FILE: /run/secrets/jwt_secret
LLDAP_KEY_SEED_FILE: /run/secrets/lldap_key_seed LLDAP_KEY_SEED_FILE: /run/secrets/key_seed
LLDAP_LDAP_BASE_DN: ${NASCOMPOSE_LDAP_DN?} LLDAP_LDAP_BASE_DN: ${NASCOMPOSE_LDAP_DN?}
networks: networks:
- reverse-proxy - reverse-proxy
@@ -47,8 +47,8 @@ services:
volumes: volumes:
- ${NASCOMPOSE_SERVICES?}/authentication/volumes/lldap_data:/data - ${NASCOMPOSE_SERVICES?}/authentication/volumes/lldap_data:/data
# Secrets # Secrets
- ${NASCOMPOSE_SERVICES?}/authentication/secrets/lldap_jwt_secret:/run/secrets/lldap_jwt_secret:ro - ${NASCOMPOSE_SERVICES?}/authentication/secrets/lldap_jwt_secret:/run/secrets/jwt_secret:ro
- ${NASCOMPOSE_SERVICES?}/authentication/secrets/lldap_key_seed:/run/secrets/lldap_key_seed:ro - ${NASCOMPOSE_SERVICES?}/authentication/secrets/lldap_key_seed:/run/secrets/key_seed:ro
labels: labels:
traefik.enable: true traefik.enable: true