2022-05-18 14:42:13 +02:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
zitadel:
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- zitadel
|
2022-06-24 18:38:13 +02:00
|
|
|
image: ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.32-amd64
|
|
|
|
command: admin start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled
|
2022-05-18 14:42:13 +02:00
|
|
|
environment:
|
|
|
|
- ZITADEL_DATABASE_HOST=db
|
2022-05-18 15:04:47 +02:00
|
|
|
- ZITADEL_DEFAULTINSTANCE_CUSTOMDOMAIN=localhost
|
2022-05-18 14:42:13 +02:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/debug"]
|
|
|
|
interval: 10s
|
|
|
|
timeout: 30s
|
|
|
|
retries: 5
|
|
|
|
start_period: 40s
|
|
|
|
depends_on:
|
|
|
|
db:
|
|
|
|
condition: service_healthy
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
|
|
|
|
db:
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- zitadel
|
2022-06-01 11:41:01 +02:00
|
|
|
image: cockroachdb/cockroach:v22.1.0
|
|
|
|
command: start-single-node --insecure
|
2022-05-18 14:42:13 +02:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
|
|
|
|
interval: 10s
|
|
|
|
timeout: 30s
|
|
|
|
retries: 5
|
|
|
|
start_period: 20s
|
|
|
|
ports:
|
|
|
|
- 9090:8080
|
|
|
|
- 26257:26257
|
|
|
|
|
|
|
|
networks:
|
|
|
|
zitadel:
|