version: '3' services: authelia: image: authelia/authelia container_name: authelia volumes: - ./config:/config networks: - proxy labels: - 'traefik.enable=true' - 'traefik.http.routers.authelia.entrypoints=websecure' - 'traefik.http.routers.authelia.rule=Host(`authelia.meftimes.com`)' - 'traefik.http.routers.authelia.tls.certresolver=letsencrypt' - 'traefik.http.middlewares.authelia.forwardauth.address=http://authelia:9091/api/verify?rd=https://authelia.meftimes.com' - 'traefik.http.middlewares.authelia.forwardauth.trustForwardHeader=true' - 'traefik.http.middlewares.authelia.forwardauth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email' - 'traefik.http.services.authelia.loadbalancer.server.port=9091' restart: unless-stopped environment: - TZ=America/New_York - AUTHELIA_JWT_SECRET_FILE=/config/authelia_jwt_secret - AUTHELIA_SESSION_SECRET_FILE=/config/authelia_session_secret - AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE=/config/authelia_storage_encryption_key healthcheck: disable: true networks: proxy: external: true