Docker Compose
Combined
version: '3'
services:
auth:
container_name: auth
image: authelia/authelia:latest
expose:
- 9091
volumes:
- /opt/appdata/authelia:/config
labels:
traefik.enable: true
traefik.http.routers.authelia.entryPoints: https
networks:
- proxy
restart: unless-stopped
depends_on:
- redis
- mariadb
redis:
container_name: redis
image: bitnami/redis:latest
expose:
- 6379
volumes:
- /opt/appdata/redis:/bitnami/
environment:
REDIS_PASSWORD: "YOUR_REDIS_PASSWORD"
networks:
- proxy
restart: unless-stopped
mariadb:
container_name: mariadb
image: linuxserver/mariadb:latest
expose:
- 3306
volumes:
- /opt/appdata/mariadb:/config
environment:
MYSQL_ROOT_PASSWORD: "YOUR_MYSQL_ROOT_PASSWORD"
MYSQL_ROOT_USER: root
MYSQL_DATABASE: authelia
MYSQL_USER: authelia
MYSQL_PASSWORD: "YOUR_MYSQL_USER_PASSWORD"
networks:
- proxy
restart: unless-stopped
networks:
proxy:
driver: bridge
external: true
Standalone
Authelia
version: '3'
services:
auth:
container_name: auth
image: authelia/authelia:latest
ports:
- 9091:9091
volumes:
- /opt/appdata/authelia:/config
labels:
traefik.enable: true
traefik.http.routers.authelia.entryPoints: https
networks:
- proxy
restart: unless-stopped
networks:
proxy:
driver: bridge
external: true
Redis
version: '3'
services:
redis:
container_name: redis
image: bitnami/redis:latest
expose:
- 6379
volumes:
- /opt/appdata/redis:/bitnami/
environment:
REDIS_PASSWORD: "YOUR_REDIS_PASSWORD"
networks:
- proxy
restart: unless-stopped
networks:
proxy:
driver: bridge
external: true
MariaDB
version: '3'
services:
mariadb:
container_name: mariadb
image: linuxserver/mariadb:latest
expose:
- 3306
volumes:
- /opt/appdata/mariadb:/config
environment:
MYSQL_ROOT_PASSWORD: "YOUR_MYSQL_ROOT_PASSWORD"
MYSQL_ROOT_USER: root
MYSQL_DATABASE: authelia
MYSQL_USER: authelia
MYSQL_PASSWORD: "YOUR_MYSQL_USER_PASSWORD"
networks:
- proxy
restart: unless-stopped
networks:
proxy:
driver: bridge
external: true
Last updated