mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-16 10:45:12 +00:00
# Which Problems Are Solved Fixes the releasing of multi-architecture login images. # How the Problems Are Solved - The login-container workflow extends the bake definition with a file docker-bake-release.hcl wich adds the platforms linux/arm and linux/amd to all relevant build targets. The used technique is similar to how the docker metadata action allows to extend the bake definitions. - The local login tag is moved to the metadata bake target, which is always inherited and overwritten in the pipeline - Packages write permission is added # Additional Changes - The MIT license is noted in container labels and annotations - The Image is built from root so that the local proto files are used --------- Co-authored-by: Copilot <[email protected]>
60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
services:
|
|
|
|
zitadel:
|
|
environment:
|
|
ZITADEL_EXTERNALDOMAIN: traefik
|
|
|
|
traefik:
|
|
labels: !reset []
|
|
|
|
setup:
|
|
environment:
|
|
ZITADEL_API_DOMAIN: traefik
|
|
ZITADEL_API_URL: https://traefik
|
|
LOGIN_BASE_URL: https://traefik/ui/v2/login/
|
|
SINK_NOTIFICATION_URL: http://sink:3333/notification
|
|
ZITADEL_ADMIN_USER: [email protected]
|
|
|
|
login:
|
|
image: "${LOGIN_TAG:-zitadel-login:local}"
|
|
container_name: acceptance-login
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.login.rule=PathPrefix(`/ui/v2/login`)"
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_TLS_REJECT_UNAUTHORIZED=0
|
|
depends_on:
|
|
setup:
|
|
condition: service_completed_successfully
|
|
|
|
acceptance:
|
|
image: "${LOGIN_TEST_ACCEPTANCE_TAG:-login-test-acceptance:local}"
|
|
container_name: acceptance
|
|
environment:
|
|
- CI
|
|
- LOGIN_BASE_URL=https://traefik/ui/v2/login/
|
|
- NODE_TLS_REJECT_UNAUTHORIZED=0
|
|
volumes:
|
|
- ../login/.env.test.local:/build/apps/login/.env.test.local
|
|
- ./test-results:/build/apps/login-test-acceptance/test-results
|
|
- ./playwright-report:/build/apps/login-test-acceptance/playwright-report
|
|
ports:
|
|
- 9323:9323
|
|
ipc: "host"
|
|
init: true
|
|
depends_on:
|
|
login:
|
|
condition: "service_healthy"
|
|
sink:
|
|
condition: service_healthy
|
|
# oidcrp:
|
|
# condition: service_healthy
|
|
# oidcop:
|
|
# condition: service_healthy
|
|
# samlsp:
|
|
# condition: service_healthy
|
|
# samlidp:
|
|
# condition: service_healthy
|