added to coolify network

This commit is contained in:
KARMACOMA 2025-10-30 23:22:59 +01:00
parent 9f60ddd2d1
commit edc2e42515

View file

@ -1,3 +1,4 @@
services: services:
postgresql: postgresql:
container_name: authentik_postgresql container_name: authentik_postgresql
@ -16,7 +17,9 @@ services:
image: docker.io/library/postgres:16-alpine image: docker.io/library/postgres:16-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- database:/var/lib/postgresql/data - database:/var/lib/postgresql/data
networks:
- coolify
server: server:
container_name: authentik_server container_name: authentik_server
command: server command: server
@ -32,8 +35,10 @@ services:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2025.10.0} image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2025.10.0}
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./media:/media - ./media:/media
- ./custom-templates:/templates - ./custom-templates:/templates
networks:
- coolify
worker: worker:
command: worker command: worker
container_name: authentik_worker container_name: authentik_worker
@ -50,10 +55,16 @@ services:
restart: unless-stopped restart: unless-stopped
user: root user: root
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./media:/media - ./media:/media
- ./certs:/certs - ./certs:/certs
- ./custom-templates:/templates - ./custom-templates:/templates
networks:
- coolify
volumes: volumes:
database: database:
driver: local driver: local
networks:
coolify:
external: true