nix/homelab/authelia/docker-compose.yml

43 lines
1.1 KiB
YAML
Raw Normal View History

2024-10-13 17:05:00 +02:00
services:
authelia:
image: authelia/authelia:latest
container_name: authelia
restart: unless-stopped
depends_on:
- lldap
2024-10-17 19:28:08 +02:00
volumes:
- ./config/configuration.yml:/config/configuration.yml
- ./config/keys:/keys
- data_authelia:/config
2024-10-13 17:05:00 +02:00
environment:
2024-10-17 19:28:08 +02:00
X_AUTHELIA_CONFIG_FILTERS: template
2024-10-13 17:05:00 +02:00
JWT_SECRET: ${AUTHELIA_JWT_SECRET}
SESSION_SECRET: ${AUTHELIA_SESSION_SECRET}
STORAGE_ENCRYPTION_KEY: ${AUTHELIA_STORAGE_ENCRYPTION_KEY}
AUTHELIA_AUTHENTICATION_BACKEND_LDAP_PASSWORD: ${LLDAP_ADMIN_PASSWORD}
2024-10-17 19:28:08 +02:00
HMAC_SECRET: ${AUTHELIA_HMAC_SECRET}
CLIENT_SECRET_FORGEJO: ${AUTHELIA_CLIENT_SECRET_FORGEJO}
CLIENT_ID_FORGEJO: ${AUTHELIA_CLIENT_ID_FORGEJO}
2024-10-13 17:05:00 +02:00
lldap:
image: lldap/lldap:latest
container_name: lldap
restart: unless-stopped
volumes:
- data_lldap:/data
environment:
LLDAP_JWT_SECRET: ${LLDAP_JWT_SECRET}
LLDAP_KEY_SEED: ${LLDAP_KEY_SEED}
LLDAP_LDAP_BASE_DN: dc=bmrs,dc=nl
LLDAP_LDAP_USER_PASS: ${LLDAP_ADMIN_PASSWORD}
volumes:
data_lldap:
2024-10-17 19:28:08 +02:00
data_authelia:
2024-10-13 17:05:00 +02:00
networks:
default:
name: proxy
external: true