diff --git a/README.md b/README.md index 99cd0dc..9e1a305 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,6 @@ Digital infrastructure for collaboration on projects `__zolder` contains try-outs that were discarded or rachived for some reason +The authelia setup is based on this write-up https://matwick.ca/authelia-nginx-sso/ + diff --git a/authelia/docker-compose.yml b/authelia/docker-compose.yml new file mode 100644 index 0000000..e4a3b22 --- /dev/null +++ b/authelia/docker-compose.yml @@ -0,0 +1,27 @@ +version: '3.3' +services: + authelia: + image: authelia/authelia +# image: authelia/authelia:4.31 + volumes: + - ./authelia:/config + ports: + - 9091:9091 + restart: unless-stopped + healthcheck: + disable: true + environment: + - TZ=Europe/Amsterdam + depends_on: + - redis + + redis: + image: redis:alpine + container_name: redis_authelia + volumes: + - ./redis:/data + expose: + - 6379 + restart: unless-stopped + environment: + - TZ=Europe/Amsterdam diff --git a/caddy/Caddyfile b/caddy/Caddyfile index cf087b3..ba9fc32 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -4,6 +4,10 @@ desearch.cc { file_server } +auth.desearch.cc { + reverse_proxy localhost:9091 +} + worklog.desearch.cc { reverse_proxy localhost:8055 }