Skip to content

Commit

Permalink
feat(devservices): Add chartcuterie config (#178)
Browse files Browse the repository at this point in the history
* chartcuterie config

* remove quotes

Co-authored-by: Ian Woodard <[email protected]>

* remove quotes

Co-authored-by: Ian Woodard <[email protected]>

* fix healthcheck

---------

Co-authored-by: Ian Woodard <[email protected]>
  • Loading branch information
hubertdeng123 and IanWoodard authored Dec 18, 2024
1 parent 88b3b85 commit a44b220
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions devservices/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Ignored by docker compose, used by devservices
x-sentry-service-config:
version: 0.1
service_name: chartcuterie
dependencies:
chartcuterie:
description: Chartcuterie offers fresh slices and dices of absolutely delectable graphs.
modes:
default: [chartcuterie]

services:
chartcuterie:
image: us-central1-docker.pkg.dev/sentryio/chartcuterie/image:latest
environment:
CHARTCUTERIE_CONFIG: /etc/chartcuterie/config.js
CHARTCUTERIE_CONFIG_POLLING: true
volumes:
- $CHARTCUTERIE_CONFIG_PATH:/etc/chartcuterie
ports:
- 127.0.0.1:7901:9090
networks:
- devservices
extra_hosts:
host.docker.internal: host-gateway
labels:
- orchestrator=devservices
healthcheck:
test: python3 -c "import urllib.request; urllib.request.urlopen(\"http://127.0.0.1:9090/api/chartcuterie/healthcheck/live\", timeout=5)"
interval: 5s
timeout: 5s
retries: 3

networks:
devservices:
name: devservices
external: true

0 comments on commit a44b220

Please sign in to comment.