Skip to main content

Zitadel in Docker

services:
zitadel:
container_name: zitadel
hostname: zitadel
restart: 'always'
networks:
- 'proxy'
image: 'ghcr.io/zitadel/zitadel:latest'
command: 'start-from-init --masterkey "ZQogWXYHsfcdKbRUCDsfsdccsdcSLnyZ6Mze" --tlsMode external'
environment:
- ZITADEL_DATABASE_POSTGRES_HOST=10.10.15.8
- ZITADEL_DATABASE_POSTGRES_PORT=5432
- ZITADEL_DATABASE_POSTGRES_DATABASE=auth

- ZITADEL_DATABASE_POSTGRES_USER_USERNAME=zitadel-user
- ZITADEL_DATABASE_POSTGRES_USER_PASSWORD=DQsq7ijijij
- ZITADEL_DATABASE_POSTGRES_USER_SSL_MODE=disable

- ZITADEL_DATABASE_POSTGRES_ADMIN_USERNAME=zitadel
- ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD=DQsq7kjmkj
- ZITADEL_DATABASE_POSTGRES_ADMIN_SSL_MODE=disable

- ZITADEL_EXTERNALSECURE=true
- ZITADEL_EXTERNALDOMAIN=auth.spakl.io
- ZITADEL_MASTERKEY=ZQogWXYH3o
- ZITADEL_FIRSTINSTANCE_ORG_HUMAN_USERNAME=root
- ZITADEL_FIRSTINSTANCE_ORG_HUMAN_PASSWORD=RootPassword1!
- ZITADEL_PORT=80
- ZITADEL_EXTERNALPORT=80
ports:
- '80:80'
dns:
- 1.1.1.1
- 1.0.0.1

networks:
proxy:
external: true