feat(auth-broker): register dry-run service surface
This commit is contained in:
@@ -165,6 +165,39 @@ services:
|
||||
timeout: 3s
|
||||
retries: 20
|
||||
|
||||
auth-broker:
|
||||
image: auth-broker
|
||||
profiles:
|
||||
- auth-broker
|
||||
build:
|
||||
context: .
|
||||
dockerfile: src/components/microservices/auth-broker/Dockerfile
|
||||
container_name: auth-broker-backend
|
||||
restart: "no"
|
||||
expose:
|
||||
- "4291"
|
||||
environment:
|
||||
HOST: "0.0.0.0"
|
||||
PORT: "4291"
|
||||
AUTH_BROKER_GITHUB_CONFIGURED: "${UNIDESK_AUTH_BROKER_GITHUB_CONFIGURED:-false}"
|
||||
AUTH_BROKER_GITHUB_CREDENTIAL_REF: "${UNIDESK_AUTH_BROKER_GITHUB_CREDENTIAL_REF:-github:unidesk-dev}"
|
||||
AUTH_BROKER_ALLOWED_REPOS: "${UNIDESK_AUTH_BROKER_ALLOWED_REPOS:-pikasTech/unidesk}"
|
||||
AUTH_BROKER_AUDIT_LOG: "/var/log/unidesk/${UNIDESK_LOG_DAY}/${UNIDESK_LOG_PREFIX}_auth-broker.jsonl"
|
||||
UNIDESK_DEPLOY_REF: "${UNIDESK_AUTH_BROKER_DEPLOY_REF:-deploy.json#environments.prod.services.auth-broker}"
|
||||
UNIDESK_DEPLOY_SERVICE_ID: "${UNIDESK_AUTH_BROKER_DEPLOY_SERVICE_ID:-auth-broker}"
|
||||
UNIDESK_DEPLOY_REPO: "${UNIDESK_AUTH_BROKER_DEPLOY_REPO:-}"
|
||||
UNIDESK_DEPLOY_COMMIT: "${UNIDESK_AUTH_BROKER_DEPLOY_COMMIT:-}"
|
||||
UNIDESK_DEPLOY_REQUESTED_COMMIT: "${UNIDESK_AUTH_BROKER_DEPLOY_REQUESTED_COMMIT:-}"
|
||||
LOG_FILE: "/var/log/unidesk/${UNIDESK_LOG_DAY}/${UNIDESK_LOG_PREFIX}_auth-broker.jsonl"
|
||||
UNIDESK_LOG_RETENTION_BYTES: "${UNIDESK_LOG_RETENTION_BYTES:-1GiB}"
|
||||
volumes:
|
||||
- ${UNIDESK_LOG_DIR}:/var/log/unidesk
|
||||
healthcheck:
|
||||
test: ["CMD", "auth-broker", "--healthcheck"]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 1
|
||||
|
||||
todo-note:
|
||||
image: todo-note
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user