Created
May 12, 2025 16:46
-
-
Save abhaybhargav/abdf466cfdab059eeb5b99f2160d923a to your computer and use it in GitHub Desktop.
zitadel host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
zitadel: | |
image: ghcr.io/zitadel/zitadel:latest | |
restart: always | |
network_mode: host | |
command: > | |
start-from-init | |
--masterkey "MasterkeyNeedsToHave32Characters" | |
--tlsMode disabled | |
environment: | |
ZITADEL_DATABASE_POSTGRES_HOST: localhost | |
ZITADEL_DATABASE_POSTGRES_PORT: 5432 | |
ZITADEL_DATABASE_POSTGRES_DATABASE: zitadel | |
ZITADEL_DATABASE_POSTGRES_USER_USERNAME: zitadel | |
ZITADEL_DATABASE_POSTGRES_USER_PASSWORD: zitadel | |
ZITADEL_DATABASE_POSTGRES_USER_SSL_MODE: disable | |
ZITADEL_DATABASE_POSTGRES_ADMIN_USERNAME: postgres | |
ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD: postgres | |
ZITADEL_DATABASE_POSTGRES_ADMIN_SSL_MODE: disable | |
ZITADEL_EXTERNALSECURE: false | |
ZITADEL_EXTERNALDOMAIN: demo2.securityreview.ai | |
ZITADEL_EXTERNALPORT: 8080 | |
depends_on: | |
db: | |
condition: service_healthy | |
db: | |
image: postgres:17-alpine | |
restart: always | |
network_mode: host | |
environment: | |
PGUSER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: zitadel | |
healthcheck: | |
test: ["CMD-SHELL", "pg_isready -d zitadel -U postgres"] | |
interval: 10s | |
timeout: 30s | |
retries: 5 | |
start_period: 20s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment