Skip to content

Instantly share code, notes, and snippets.

@meehatpa
Created May 7, 2023 12:53
Show Gist options
  • Save meehatpa/c437a95b8d799218c472eb211aedb9f2 to your computer and use it in GitHub Desktop.
Save meehatpa/c437a95b8d799218c472eb211aedb9f2 to your computer and use it in GitHub Desktop.
Authelia docker-compose
authelia:
container_name: authelia
image: authelia/authelia
restart: unless-stopped
networks:
- traefik-net
expose:
- 9092
volumes:
- ./authelia/config:/config
- ./authelia/data:/data
environment:
TZ: "Asia/Kolkata"
labels:
- traefik.enable=true
- traefik.http.services.authelia.loadbalancer.server.port=9092
- traefik.http.routers.authelia.rule=Host(`auth.xxx.duckdns.org`)
- traefik.http.routers.authelia.entrypoints=websecure
- traefik.http.routers.authelia.tls.certresolver=myresolver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment