version: '3.9' services: authelia: image: authelia/authelia restart: unless-stopped volumes: - /home/nick/configs/authelia:/config healthcheck: disable: true networks: - default - routing user: 1000:1000 db: image: postgres:14 restart: unless-stopped environment: POSTGRES_USER: authelia POSTGRES_PASSWORD: authelia POSTGRES_DB: authelia volumes: - /home/nick/configs/authelia/db:/var/lib/postgresql/data user: 1000:1000 redis: image: redis restart: unless-stopped networks: routing: external: true name: routing