Remove old authentik and gitea databases
This commit is contained in:
@@ -1,25 +1,4 @@
|
||||
services:
|
||||
db:
|
||||
profiles: [disabled]
|
||||
image: postgres@sha256:035b9ab53cfa147d7202b61f5f7782b939ae815b7d6bc81c96b7b42ff1fca950
|
||||
container_name: authentik-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: ${PG_DB}
|
||||
POSTGRES_USER: ${PG_USER}
|
||||
POSTGRES_PASSWORD_FILE: /run/secrets/pg_pass
|
||||
volumes:
|
||||
- authentik_database:/var/lib/postgresql/data
|
||||
secrets:
|
||||
- pg_pass
|
||||
healthcheck:
|
||||
interval: 30s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}
|
||||
timeout: 5s
|
||||
server:
|
||||
image: ghcr.io/goauthentik/server:2025.12.4@sha256:61eb50cfededf2ecc0ef483b497746db96d18934d440d7d55f6baa41977d8e85
|
||||
container_name: authentik-server
|
||||
@@ -66,8 +45,6 @@ services:
|
||||
- authentik_postgres_password
|
||||
- authentik_secret_key
|
||||
volumes:
|
||||
authentik_database:
|
||||
driver: local
|
||||
authentik_data:
|
||||
driver: local
|
||||
networks:
|
||||
@@ -76,8 +53,6 @@ networks:
|
||||
homelab_db:
|
||||
external: true
|
||||
secrets:
|
||||
pg_pass:
|
||||
environment: AUTHENTIK_PG_PASS
|
||||
authentik_postgres_password:
|
||||
environment: AUTHENTIK_POSTGRES_PASSWORD
|
||||
authentik_secret_key:
|
||||
|
||||
Reference in New Issue
Block a user