version: '3.2'
services:
server:
image: goauthentik.io/server:2022.10.1
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:
command: worker
user: root
- ./backups:/backups
- ./certs:/certs
- /var/run/docker.sock:/var/run/docker.sock
geoipupdate:
image: "maxmindinc/geoipupdate:latest"
- "geoip:/usr/share/GeoIP"
redis:
image: redis:alpine
geoip:
external: true