version: '3.2' services: server: image: goauthentik.io/server:2022.8.2 restart: unless-stopped command: server volumes: - ./media:/media - ./custom-templates:/templates - geoip:/geoip env_file: - .env - .secret.env depends_on: - redis networks: local-net: apps: aliases: - authentik worker: image: goauthentik.io/server:2022.8.2 restart: unless-stopped command: worker user: root volumes: - ./backups:/backups - ./media:/media - ./certs:/certs - /var/run/docker.sock:/var/run/docker.sock - ./custom-templates:/templates - geoip:/geoip env_file: - .env - .secret.env depends_on: - redis networks: local-net: geoipupdate: image: "maxmindinc/geoipupdate:latest" volumes: - "geoip:/usr/share/GeoIP" env_file: - .env - .secret.env depends_on: - redis networks: local-net: redis: image: redis:alpine restart: unless-stopped networks: local-net: volumes: geoip: networks: local-net: apps: external: true