ci(oidc): add manual static dry-run and intentionally non-deployable Compose routing fixtures
This commit is contained in:
1 parent
3fc49916ca
commit
45542609c6
3 files changed
+195
No files matched your search
@@ -0,0 +1,86 @@
|
||||
# P05-OIDC-08 CI synthetic, NOT DEPLOYABLE; never use compose up/build/run/pull.
|
||||
# .invalid images, zero replicas, private network, unresolved placeholder refs.
|
||||
name: zitplane-oidc-08-ci-do-not-deploy
|
||||
|
||||
services:
|
||||
ingress-policy:
|
||||
image: synthetic.invalid/zitplane/ingress:never-deploy
|
||||
deploy:
|
||||
replicas: 0
|
||||
networks: [isolated]
|
||||
environment:
|
||||
CONTRACT_PUBLIC_ISSUER: "https://auth.vib.tools"
|
||||
CONTRACT_ACCOUNT_ORIGIN: "https://account.vib.tools"
|
||||
CONTRACT_TLS_MODE: "external-https-only"
|
||||
CONTRACT_FORWARD_POLICY: "strip-and-replace"
|
||||
|
||||
zitadel-api:
|
||||
image: synthetic.invalid/zitplane/zitadel-api:never-deploy
|
||||
deploy:
|
||||
replicas: 0
|
||||
networks: [isolated]
|
||||
environment:
|
||||
CONTRACT_ISSUER: "https://auth.vib.tools"
|
||||
CONTRACT_BACKEND_UPSTREAM: "h2c"
|
||||
CONTRACT_MASTERKEY_FILE: "/run/secrets/zitadel_masterkey"
|
||||
CONTRACT_POSTGRES_PASSWORD_FILE: "/run/secrets/postgres_password"
|
||||
secrets: [zitadel_masterkey, postgres_password]
|
||||
|
||||
zitadel-login:
|
||||
image: synthetic.invalid/zitplane/login:never-deploy
|
||||
deploy:
|
||||
replicas: 0
|
||||
networks: [isolated]
|
||||
environment:
|
||||
CONTRACT_LOGIN_BASE_PATH: "/ui/v2/login"
|
||||
CONTRACT_ZITADEL_API: "zitadel-api:8080"
|
||||
CONTRACT_LOGIN_CLIENT_PAT_FILE: "/run/secrets/login_client_pat"
|
||||
CONTRACT_LOGIN_COOKIE_SECRET_FILE: "/run/secrets/login_cookie_secret"
|
||||
secrets: [login_client_pat, login_cookie_secret]
|
||||
|
||||
account:
|
||||
image: synthetic.invalid/zitplane/account:never-deploy
|
||||
deploy:
|
||||
replicas: 0
|
||||
networks: [isolated]
|
||||
environment:
|
||||
CONTRACT_ISSUER: "https://auth.vib.tools"
|
||||
CONTRACT_ORIGIN: "https://account.vib.tools"
|
||||
CONTRACT_CALLBACK: "https://account.vib.tools/api/auth/callback/zitadel"
|
||||
CONTRACT_OIDC_CLIENT_SECRET_FILE: "/run/secrets/account_client_secret"
|
||||
CONTRACT_AUTH_SECRET_FILE: "/run/secrets/account_auth_secret"
|
||||
secrets: [account_client_secret, account_auth_secret]
|
||||
|
||||
postgres:
|
||||
image: synthetic.invalid/zitplane/postgres:never-deploy
|
||||
deploy:
|
||||
replicas: 0
|
||||
networks: [isolated]
|
||||
environment:
|
||||
CONTRACT_POSTGRES_PASSWORD_FILE: "/run/secrets/postgres_password"
|
||||
secrets: [postgres_password]
|
||||
|
||||
networks:
|
||||
isolated:
|
||||
internal: true
|
||||
|
||||
# Name-only CI placeholders. docker compose config never looks up external values.
|
||||
secrets:
|
||||
zitadel_masterkey:
|
||||
external: true
|
||||
name: ci-only-placeholder-zitadel-masterkey
|
||||
postgres_password:
|
||||
external: true
|
||||
name: ci-only-placeholder-postgres-password
|
||||
login_client_pat:
|
||||
external: true
|
||||
name: ci-only-placeholder-login-client-pat
|
||||
login_cookie_secret:
|
||||
external: true
|
||||
name: ci-only-placeholder-login-cookie-secret
|
||||
account_client_secret:
|
||||
external: true
|
||||
name: ci-only-placeholder-account-client-secret
|
||||
account_auth_secret:
|
||||
external: true
|
||||
name: ci-only-placeholder-account-auth-secret
|
||||
Reference in new issue
Block a user