fix: mount notification secret in Commit runtime #12
@@ -85,8 +85,6 @@ services:
|
|||||||
POSTGRES_PASSWORD: ${CONTINUITY_DB_PASSWORD}
|
POSTGRES_PASSWORD: ${CONTINUITY_DB_PASSWORD}
|
||||||
CORE_RUNTIME_URL: http://core-runtime:8080
|
CORE_RUNTIME_URL: http://core-runtime:8080
|
||||||
COMMIT_EXECUTOR_TOKEN: ${COMMIT_EXECUTOR_TOKEN}
|
COMMIT_EXECUTOR_TOKEN: ${COMMIT_EXECUTOR_TOKEN}
|
||||||
NOTIFICATION_WRITE_TOKEN_FILE: /run/notification-writer/token
|
|
||||||
NOTIFICATION_WRITE_SECRET_REF: domovoy-notification-write-v1
|
|
||||||
|
|
||||||
commit-runtime:
|
commit-runtime:
|
||||||
build: { context: .., dockerfile: deploy/images/runtime.Dockerfile, args: { TARGET: commit-runtime } }
|
build: { context: .., dockerfile: deploy/images/runtime.Dockerfile, args: { TARGET: commit-runtime } }
|
||||||
@@ -103,6 +101,8 @@ services:
|
|||||||
CORE_RUNTIME_URL: http://core-runtime:8080
|
CORE_RUNTIME_URL: http://core-runtime:8080
|
||||||
CONTINUITY_RUNTIME_URL: http://continuity-runtime:8081
|
CONTINUITY_RUNTIME_URL: http://continuity-runtime:8081
|
||||||
COMMIT_EXECUTOR_TOKEN: ${COMMIT_EXECUTOR_TOKEN}
|
COMMIT_EXECUTOR_TOKEN: ${COMMIT_EXECUTOR_TOKEN}
|
||||||
|
NOTIFICATION_WRITE_TOKEN_FILE: /run/notification-writer/token
|
||||||
|
NOTIFICATION_WRITE_SECRET_REF: domovoy-notification-write-v1
|
||||||
# External mutation credentials belong here only via Portainer/Docker secrets/env injection.
|
# External mutation credentials belong here only via Portainer/Docker secrets/env injection.
|
||||||
depends_on: [core-runtime, continuity-runtime, notification-receiver]
|
depends_on: [core-runtime, continuity-runtime, notification-receiver]
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user