migrate
Deploy authentik / deploy (push) Successful in 13s
Deploy dockhand / deploy (push) Successful in 7s
Deploy duplicati / deploy (push) Successful in 10s
Deploy immich / deploy (push) Failing after 6s
Deploy obsidian / deploy (push) Successful in 6s
Deploy Sencho / deploy (push) Failing after 5s
Deploy watchtower / deploy (push) Failing after 7s
Deploy authentik / deploy (push) Successful in 13s
Deploy dockhand / deploy (push) Successful in 7s
Deploy duplicati / deploy (push) Successful in 10s
Deploy immich / deploy (push) Failing after 6s
Deploy obsidian / deploy (push) Successful in 6s
Deploy Sencho / deploy (push) Failing after 5s
Deploy watchtower / deploy (push) Failing after 7s
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
services:
|
||||
postgresql:
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
POSTGRES_DB: ${PG_DB:-authentik}
|
||||
POSTGRES_PASSWORD: ${PG_PASS:?database password required}
|
||||
POSTGRES_USER: ${PG_USER:-authentik}
|
||||
healthcheck:
|
||||
interval: 30s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}
|
||||
timeout: 5s
|
||||
image: docker.io/library/postgres:16-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /home/miker/docker/authentik/database:/var/lib/postgresql/data
|
||||
networks:
|
||||
- authentik
|
||||
|
||||
server:
|
||||
command: server
|
||||
depends_on:
|
||||
postgresql:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
AUTHENTIK_POSTGRESQL__HOST: postgresql
|
||||
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
|
||||
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
|
||||
AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
|
||||
AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:?secret key required}
|
||||
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2026.2.1}
|
||||
ports:
|
||||
- ${COMPOSE_PORT_HTTP}:9000
|
||||
- ${COMPOSE_PORT_HTTPS}:9443
|
||||
restart: unless-stopped
|
||||
shm_size: 512mb
|
||||
volumes:
|
||||
- /home/miker/docker/authentik/data:/data
|
||||
- /home/miker/docker/authentik/custom-templates:/templates
|
||||
networks:
|
||||
- authentik
|
||||
- main
|
||||
|
||||
worker:
|
||||
command: worker
|
||||
depends_on:
|
||||
postgresql:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
AUTHENTIK_POSTGRESQL__HOST: postgresql
|
||||
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
|
||||
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
|
||||
AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
|
||||
AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:?secret key required}
|
||||
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2026.2.1}
|
||||
restart: unless-stopped
|
||||
shm_size: 512mb
|
||||
user: root
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /home/miker/docker/authentik/data:/data
|
||||
- /home/miker/docker/authentik/certs:/certs
|
||||
- /home/miker/docker/authentik/custom-templates:/templates
|
||||
networks:
|
||||
- authentik
|
||||
- main
|
||||
networks:
|
||||
main:
|
||||
external: true # Tells Compose not to create this network
|
||||
authentik:
|
||||
external: true # Tells Compose not to create this network
|
||||
Reference in New Issue
Block a user