#### NETWORKS networks: docker-traefik_front_network: external: true back_network: driver: bridge attachable: true #### SERVICES services: ### Authelia authelia: container_name: authelia-app hostname: authelia-app image: authelia/authelia volumes: - /home/ubuntu/docker/authelia/config:/config networks: - back_network - docker-traefik_front_network security_opt: - no-new-privileges:true labels: - 'traefik.enable=true' - 'traefik.http.routers.authelia.rule=Host(`auth.jimsgarage.co.uk`)' - 'traefik.http.routers.authelia.entrypoints=https' - 'traefik.http.routers.authelia.tls=true' - 'traefik.http.middlewares.authelia.forwardAuth.address=http://authelia:9091/api/verify?rd=https://auth.jimsgarage.co.uk' - 'traefik.http.middlewares.authelia.forwardAuth.trustForwardHeader=true' - 'traefik.http.middlewares.authelia.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email' - 'traefik.http.middlewares.authelia-basic.forwardAuth.address=http://authelia:9091/api/verify?auth=basic' - 'traefik.http.middlewares.authelia-basic.forwardAuth.trustForwardHeader=true' - 'traefik.http.middlewares.authelia-basic.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email' - 'traefik.http.services.authelia.loadbalancer.server.port=9091' ports: - 9091:9091 restart: unless-stopped environment: - TZ=Europe/Paris healthcheck: disable: true redis: container_name: authelia-redis hostname: authelia-redis image: redis:alpine volumes: - ./redis:/data networks: - back_network expose: - 6379 restart: unless-stopped environment: - TZ=Europe/Paris