Fix bind mount paths
This commit is contained in:
parent
6be7c81137
commit
d546922e1e
16 changed files with 36 additions and 45 deletions
|
@ -3,7 +3,7 @@ image = "redis:alpine"
|
|||
container_name = "authentik-redis"
|
||||
networks = ["authentik"]
|
||||
restart = "unless-stopped"
|
||||
volumes = ["/docker/authentik/redis:/data"]
|
||||
volumes = ["~/data/authentik/redis:/data"]
|
||||
|
||||
[services.redis.healthcheck]
|
||||
test = ["CMD-SHELL", "redis-cli ping | grep PONG"]
|
||||
|
@ -18,9 +18,9 @@ container_name = "authentik"
|
|||
restart = "unless-stopped"
|
||||
command = "server"
|
||||
volumes = [
|
||||
"/docker/authentik/media:/media",
|
||||
"/docker/authentik/custom-templates:/templates",
|
||||
"/docker/authentik/geoip:/geoip",
|
||||
"~/data/authentik/media:/media",
|
||||
"~/data/authentik/custom-templates:/templates",
|
||||
"~/data/authentik/geoip:/geoip",
|
||||
]
|
||||
env_file = [".env"]
|
||||
networks = ["authentik", "postgres", "proxy"]
|
||||
|
@ -32,11 +32,10 @@ restart = "unless-stopped"
|
|||
command = "worker"
|
||||
user = "root"
|
||||
volumes = [
|
||||
"/docker/authentik/backups:/backups",
|
||||
"/docker/authentik/custom-templates:/templates",
|
||||
"/docker/authentik/geoip:/geoip",
|
||||
"/docker/authentik/media:/media",
|
||||
"/var/run/docker.sock:/var/run/docker.sock",
|
||||
"~/data/authentik/backups:/backups",
|
||||
"~/data/authentik/custom-templates:/templates",
|
||||
"~/data/authentik/geoip:/geoip",
|
||||
"~/data/authentik/media:/media",
|
||||
]
|
||||
env_file = [".env"]
|
||||
networks = ["authentik", "postgres"]
|
||||
|
@ -46,21 +45,13 @@ image = "maxmindinc/geoipupdate"
|
|||
container_name = "authentik-geoipupdate"
|
||||
restart = "unless-stopped"
|
||||
networks = ["authentik"]
|
||||
volumes = ["/docker/authentik/geoip:/usr/share/GeoIP"]
|
||||
volumes = ["~/data/authentik/geoip:/usr/share/GeoIP"]
|
||||
env_file = [".env"]
|
||||
|
||||
[services.geoipupdate.environment]
|
||||
GEOIPUPDATE_EDITION_IDS = "GeoLite2-City"
|
||||
GEOIPUPDATE_FREQUENCY = "8"
|
||||
|
||||
[services.whoami-test]
|
||||
image = "traefik/whoami"
|
||||
container_name = "whoami-test"
|
||||
restart = "unless-stopped"
|
||||
security_opt = ["no-new-privileges:true"]
|
||||
networks = ["proxy"]
|
||||
environment = ["TZ"]
|
||||
|
||||
[networks.authentik]
|
||||
external = true
|
||||
|
||||
|
|
Reference in a new issue