@@ -27,30 +27,57 @@ jobs:
2727 ref : ${{ inputs.devops_ref }}
2828 path : devops
2929
30- - name : Create minimal runtime override (attach to existing network)
30+ - name : Create runtime override (attach to existing network)
3131 working-directory : devops/monitoring/signoz
3232 run : |
33- cat > _runtime.override.yml <<EOF
33+ cat > _runtime.override.yml <<'YAML'
3434 version: "3.8"
35+
3536 networks:
3637 ext:
3738 external: true
3839 name: ${NETWORK_NAME}
40+
3941 services:
40- signoz: { networks: [signoz-net, ext] }
42+ signoz:
43+ networks:
44+ - signoz-net
45+ - ext
46+
4147 otel-collector:
42- networks: [signoz-net, ext]
48+ networks:
49+ - signoz-net
50+ - ext
4351 volumes:
4452 - /var/run/docker.sock:/var/run/docker.sock:ro
4553 - /proc:/hostfs/proc:ro
4654 - /sys:/hostfs/sys:ro
4755 - /:/hostfs:ro
48- clickhouse: { networks: [signoz-net, ext] }
49- zookeeper-1: { networks: [signoz-net, ext] }
50- schema-migrator-sync: { networks: [signoz-net, ext] }
51- schema-migrator-async:{ networks: [signoz-net, ext] }
52- EOF
56+
57+ clickhouse:
58+ networks:
59+ - signoz-net
60+ - ext
61+
62+ zookeeper-1:
63+ networks:
64+ - signoz-net
65+ - ext
66+
67+ schema-migrator-sync:
68+ networks:
69+ - signoz-net
70+ - ext
71+
72+ schema-migrator-async:
73+ networks:
74+ - signoz-net
75+ - ext
76+ YAML
77+
5378 echo "Using NETWORK_NAME=${NETWORK_NAME}"
79+ echo "--- _runtime.override.yml ---"
80+ sed -n '1,160p' _runtime.override.yml
5481
5582 - name : Prepare .env for SigNoz (ClickHouse password)
5683 working-directory : devops/monitoring/signoz
6087 if [ ! -f .env.signoz ]; then
6188 echo "CLICKHOUSE_PASSWORD=${SIGNOZ_CLICKHOUSE_PASSWORD:-signoz@123}" > .env.signoz
6289 fi
90+ chmod 600 .env.signoz
91+
92+ - name : Validate compose config
93+ working-directory : devops
94+ run : |
95+ docker compose \
96+ -f monitoring/signoz/deploy/docker/docker-compose.yaml \
97+ -f monitoring/signoz/_runtime.override.yml \
98+ config >/dev/null
6399
64100 - name : Deploy SigNoz (from repo files)
65101 working-directory : devops
0 commit comments