version: '3.2'
services:
server:
image: ghcr.io/goauthentik/server:2023.3
restart: unless-stopped
command: server
volumes:
- ./media:/media
- ./custom-templates:/templates
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
redis:
image: redis:alpine
external: true