services: authelia: container_name: authelia image: authelia/authelia:4.38 restart: unless-stopped volumes: - /srv/authelia/config:/config environment: - TZ=America/New_York - AUTHELIA_JWT_SECRET=${AUTHELIA_JWT_SECRET} - AUTHELIA_SESSION_SECRET=${AUTHELIA_SESSION_SECRET} - AUTHELIA_STORAGE_ENCRYPTION_KEY=${AUTHELIA_STORAGE_ENCRYPTION_KEY} networks: - npm-network - authelia-internal depends_on: - authelia-redis authelia-redis: container_name: authelia-redis image: redis:7-alpine restart: unless-stopped command: --save 60 1 --loglevel warning volumes: - /srv/authelia/redis:/data networks: - authelia-internal networks: npm-network: external: true authelia-internal: driver: bridge