Skip to content

Commit

Permalink
wip: Add support for kapture service #265
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Oct 6, 2021
1 parent b72b03d commit 918cd10
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions deploy/kapture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit 918cd10

Please sign in to comment.