67 lines
1.1 KiB
YAML
67 lines
1.1 KiB
YAML
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:
|
|
image: goauthentik.io/server:2022.10.1
|
|
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
|