Skip to content

Commit 8f14710

Browse files
committed
add graphviz
1 parent 62e314e commit 8f14710

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

examples/observability/compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: '3.8'
2+
13
services:
24
prometheus:
35
image: prom/prometheus:v2.41.0
@@ -9,6 +11,8 @@ services:
911
statsd:
1012
image: prom/statsd-exporter:v0.23.0
1113
command: "--statsd.listen-udp=:8125 --web.listen-address=:9102 --log.level=debug"
14+
depends_on:
15+
- prometheus
1216

1317
database:
1418
image: superbeeeeeee/docker-sybase
18.8 KB
Loading

examples/observability/graphviz.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
# https://github.com/pmsipilot/docker-compose-viz
3+
# https://github.com/pmsipilot/docker-compose-viz#usage
4+
docker run --rm -it --name dcv -v $(pwd):/input pmsipilot/docker-compose-viz render -m image compose.yml --no-volumes --no-networks --horizontal --force

graphviz.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
# https://github.com/pmsipilot/docker-compose-viz
3+
# https://github.com/pmsipilot/docker-compose-viz#usage
4+
docker run --rm -it --name dcv -v $(pwd):/input pmsipilot/docker-compose-viz render -m image compose.yml --no-volumes --no-networks --horizontal --force

0 commit comments

Comments
 (0)