Archive authelia
This commit is contained in:
40
.archived/authelia/docker-compose.yml
Normal file
40
.archived/authelia/docker-compose.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
services:
|
||||
authelia_db:
|
||||
container_name: authelia_db
|
||||
image: docker.io/library/postgres:17.5
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/authelia/db:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
authelia:
|
||||
container_name: authelia
|
||||
image: ghcr.io/authelia/authelia:4.39.5
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
authelia_db:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- TZ=${TZ}
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- UMASK=${UMASK}
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/authelia/config:/config
|
||||
ports:
|
||||
- ${PORT}:9091
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost:9091/api/state"]
|
||||
# start_period: 30s
|
||||
# interval: 10s
|
||||
# timeout: 10s
|
||||
# retries: 3
|
||||
Reference in New Issue
Block a user