mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
e0a5f8661d
* docs: simplify traefik external tls * remove pass host header * docs: simplify and fix nginx external tls * fix: readiness with enabled tls * improve proxy docs * improve proxy docs * fix(ready): don't verify server cert * complete nginx docs * cleanup * complete traefik docs * add caddy docs * simplify traefik * standardize * fix caddy * add httpd docs * improve external config docs * guiding error message * docs(defaults.yaml): remove misleading comments * guiding error message cs and ru * improve proxy testability * fix compose up command * improve commands * fix nginx tls disabled * fix nginx tls enabled * fix: serve gateway when tls is enabled * fmt caddy files * fix caddy enabled tls * remove not-working commands * review * fix checks * fix link --------- Co-authored-by: Livio Spring <livio.a@gmail.com>
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
zitadel:
|
|
user: '$UID'
|
|
restart: 'always'
|
|
image: '${ZITADEL_IMAGE:-ghcr.io/zitadel/zitadel:latest}'
|
|
build:
|
|
context: ../../..
|
|
dockerfile: ./build/Dockerfile
|
|
target: artifact
|
|
cache_from:
|
|
- type=gha
|
|
cache_to:
|
|
- type=gha,mode=max
|
|
command: 'start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled --config /zitadel.yaml --steps /zitadel.yaml'
|
|
depends_on:
|
|
db:
|
|
condition: 'service_healthy'
|
|
volumes:
|
|
- ./zitadel.yaml:/zitadel.yaml
|
|
ports:
|
|
- "8080:8080"
|
|
healthcheck:
|
|
test: ["CMD", "/app/zitadel", "ready", "--config", "/zitadel.yaml" ]
|
|
interval: '10s'
|
|
timeout: '5s'
|
|
retries: 5
|
|
start_period: '10s'
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
db:
|
|
restart: 'always'
|
|
image: 'cockroachdb/cockroach:latest'
|
|
command: 'start-single-node --insecure --http-addr :9090'
|
|
healthcheck:
|
|
test: ['CMD', 'curl', '-f', 'http://localhost:9090/health?ready=1']
|
|
interval: '10s'
|
|
timeout: '30s'
|
|
retries: 5
|
|
start_period: '20s'
|
|
ports:
|
|
- "26257:26257"
|
|
- "9090:9090"
|