From 918cd109eb6901d7a0a39a3317a535594fa87e02 Mon Sep 17 00:00:00 2001 From: cnouguier Date: Wed, 6 Oct 2021 08:56:32 +0200 Subject: [PATCH] wip: Add support for kapture service #265 --- deploy/kapture.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/deploy/kapture.yml b/deploy/kapture.yml index ba9a7174..e843f4d7 100644 --- a/deploy/kapture.yml +++ b/deploy/kapture.yml @@ -3,16 +3,11 @@ version: '3.8' services: kontrol: image: ${KAPTURE_IMAGE}:${KAPTURE_TAG} - volumes: - - /var/run/docker.sock:/var/run/docker.sock - configs: - - source: kontrol_config - target: /kontrol/config.js environment: - - KANO_URL - - KANO_JWT + - KANO_URL=${KAPTURE_KANO_URL} + - KANO_JWT=${KAPTURE_KANO_JWT} healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8080/healthcheck"] + test: ["CMD", "curl", "-f", "http://localhost:3000/healthcheck"] interval: 30s timeout: 5s retries: 3 @@ -22,22 +17,11 @@ services: placement: constraints: - node.role == manager - resources: - limits: - cpus: '0.10' - memory: 128M - reservations: - cpus: '0.05' - memory: 64M restart_policy: condition: on-failure networks: - kargo-back-network -configs: - kontrol_config: - file: ./../configs/kontrol/config.js - networks: kargo-back-network: name: ${DOCKER_BACK_NETWORK}