2024-06-14 11:22:16 +00:00
|
|
|
version: '3.8'
|
|
|
|
|
2023-11-02 13:23:35 +00:00
|
|
|
services:
|
2024-10-02 11:26:39 +00:00
|
|
|
|
|
|
|
cfgsync:
|
|
|
|
container_name: cfgsync
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: testnet/Dockerfile
|
|
|
|
image: nomos:latest
|
|
|
|
volumes:
|
|
|
|
- ./testnet:/etc/nomos
|
2024-12-09 14:39:23 +00:00
|
|
|
depends_on:
|
|
|
|
- grafana
|
2024-10-02 11:26:39 +00:00
|
|
|
entrypoint: /etc/nomos/scripts/run_cfgsync.sh
|
|
|
|
|
|
|
|
nomos-node-0:
|
|
|
|
container_name: nomos_node_0
|
2023-11-07 11:52:27 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: testnet/Dockerfile
|
2024-05-30 09:46:02 +00:00
|
|
|
image: nomos:latest
|
2023-11-02 13:23:35 +00:00
|
|
|
ports:
|
2024-03-12 06:47:35 +00:00
|
|
|
- "3000:3000/udp"
|
2024-01-05 13:31:05 +00:00
|
|
|
- "18080:18080/tcp"
|
2023-11-02 13:23:35 +00:00
|
|
|
volumes:
|
|
|
|
- ./testnet:/etc/nomos
|
2024-10-02 11:26:39 +00:00
|
|
|
- ./tests/kzgrs/kzgrs_test_params:/kzgrs_test_params:z
|
2024-06-14 11:22:16 +00:00
|
|
|
depends_on:
|
2024-10-02 11:26:39 +00:00
|
|
|
- cfgsync
|
|
|
|
entrypoint: /etc/nomos/scripts/run_nomos_node.sh
|
2023-11-02 13:23:35 +00:00
|
|
|
|
2024-10-02 11:26:39 +00:00
|
|
|
nomos-node-1:
|
|
|
|
container_name: nomos_node_1
|
2024-06-28 08:13:48 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: testnet/Dockerfile
|
2024-05-30 09:46:02 +00:00
|
|
|
image: nomos:latest
|
2023-11-02 13:23:35 +00:00
|
|
|
volumes:
|
|
|
|
- ./testnet:/etc/nomos
|
2024-10-02 11:26:39 +00:00
|
|
|
- ./tests/kzgrs/kzgrs_test_params:/kzgrs_test_params:z
|
2023-11-02 13:23:35 +00:00
|
|
|
depends_on:
|
2024-10-02 11:26:39 +00:00
|
|
|
- cfgsync
|
2023-11-02 13:23:35 +00:00
|
|
|
ports:
|
2024-03-12 06:47:35 +00:00
|
|
|
- "3001:3000/udp"
|
2024-01-05 13:31:05 +00:00
|
|
|
- "18081:18080/tcp"
|
2023-11-02 13:23:35 +00:00
|
|
|
entrypoint: /etc/nomos/scripts/run_nomos_node.sh
|
|
|
|
|
2024-10-02 11:26:39 +00:00
|
|
|
nomos-node-2:
|
|
|
|
container_name: nomos_node_2
|
2024-06-28 08:13:48 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: testnet/Dockerfile
|
2024-05-30 09:46:02 +00:00
|
|
|
image: nomos:latest
|
2023-11-02 13:23:35 +00:00
|
|
|
volumes:
|
|
|
|
- ./testnet:/etc/nomos
|
2024-10-02 11:26:39 +00:00
|
|
|
- ./tests/kzgrs/kzgrs_test_params:/kzgrs_test_params:z
|
2023-11-02 13:23:35 +00:00
|
|
|
depends_on:
|
2024-10-02 11:26:39 +00:00
|
|
|
- cfgsync
|
2023-11-02 13:23:35 +00:00
|
|
|
ports:
|
2024-03-12 06:47:35 +00:00
|
|
|
- "3002:3000/udp"
|
2024-01-05 13:31:05 +00:00
|
|
|
- "18082:18080/tcp"
|
2023-11-02 13:23:35 +00:00
|
|
|
entrypoint: /etc/nomos/scripts/run_nomos_node.sh
|
|
|
|
|
2024-10-02 11:26:39 +00:00
|
|
|
nomos-node-3:
|
|
|
|
container_name: nomos_node_3
|
2024-06-28 08:13:48 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: testnet/Dockerfile
|
2024-05-30 09:46:02 +00:00
|
|
|
image: nomos:latest
|
2023-11-02 13:23:35 +00:00
|
|
|
volumes:
|
|
|
|
- ./testnet:/etc/nomos
|
2024-10-02 11:26:39 +00:00
|
|
|
- ./tests/kzgrs/kzgrs_test_params:/kzgrs_test_params:z
|
2023-11-02 13:23:35 +00:00
|
|
|
depends_on:
|
2024-10-02 11:26:39 +00:00
|
|
|
- cfgsync
|
2023-11-02 13:23:35 +00:00
|
|
|
ports:
|
2024-03-12 06:47:35 +00:00
|
|
|
- "3003:3000/udp"
|
2024-01-05 13:31:05 +00:00
|
|
|
- "18083:18080/tcp"
|
2024-10-22 09:36:06 +00:00
|
|
|
entrypoint: /etc/nomos/scripts/run_nomos_executor.sh
|
2023-11-02 13:23:35 +00:00
|
|
|
|
2024-01-23 16:16:33 +00:00
|
|
|
prometheus:
|
|
|
|
container_name: prometheus
|
2024-12-20 10:54:04 +00:00
|
|
|
image: prom/prometheus:v3.0.1
|
2024-01-23 16:16:33 +00:00
|
|
|
volumes:
|
2024-10-25 10:39:07 +00:00
|
|
|
- ./testnet/monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:z
|
2024-01-23 16:16:33 +00:00
|
|
|
command:
|
|
|
|
- --config.file=/etc/prometheus/prometheus.yml
|
|
|
|
- --storage.tsdb.retention.time=7d
|
2024-12-20 10:54:04 +00:00
|
|
|
- --web.enable-otlp-receiver
|
2024-01-23 16:16:33 +00:00
|
|
|
ports:
|
|
|
|
- 127.0.0.1:9090:9090
|
|
|
|
restart: on-failure
|
|
|
|
|
|
|
|
grafana:
|
|
|
|
container_name: grafana
|
|
|
|
image: grafana/grafana:latest
|
2024-10-24 16:33:04 +00:00
|
|
|
environment:
|
|
|
|
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
|
|
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
|
|
|
- GF_AUTH_DISABLE_LOGIN_FORM=true
|
|
|
|
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor traceQLStreaming metricsSummary
|
2024-01-23 16:16:33 +00:00
|
|
|
env_file:
|
|
|
|
- ./testnet/monitoring/grafana/plugins.env
|
|
|
|
volumes:
|
2024-01-30 08:04:11 +00:00
|
|
|
- ./testnet/monitoring/grafana/grafana.ini:/etc/grafana/grafana.ini:z
|
|
|
|
- ./testnet/monitoring/grafana/datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml:z
|
2024-12-20 10:54:04 +00:00
|
|
|
- ./testnet/monitoring/grafana/dashboards.yml:/etc/grafana/provisioning/dashboards/dashboards.yml:z
|
|
|
|
- ./testnet/monitoring/grafana/dashboards:/var/lib/grafana/dashboards/:z
|
2024-01-23 16:16:33 +00:00
|
|
|
ports:
|
|
|
|
- 9091:3000
|
|
|
|
restart: on-failure
|
|
|
|
depends_on:
|
|
|
|
- prometheus
|
2024-10-24 16:33:04 +00:00
|
|
|
|
|
|
|
loki:
|
|
|
|
image: grafana/loki:2.9.2
|
|
|
|
ports:
|
|
|
|
- "3100:3100"
|
|
|
|
command: -config.file=/etc/loki/local-config.yaml
|
|
|
|
|
|
|
|
# Tempo runs as unpriviliged user, volumes need to be chowned before running.
|
|
|
|
tempo-init:
|
|
|
|
image: &tempoImage grafana/tempo:latest
|
|
|
|
user: root
|
|
|
|
entrypoint:
|
|
|
|
- "chown"
|
|
|
|
- "10001:10001"
|
|
|
|
- "/var/tempo"
|
|
|
|
|
|
|
|
tempo:
|
|
|
|
image: *tempoImage
|
|
|
|
container_name: tempo
|
|
|
|
command: [ "-config.file=/etc/tempo.yaml" ]
|
|
|
|
volumes:
|
|
|
|
- ./testnet/monitoring/tempo.yaml:/etc/tempo.yaml:z
|
|
|
|
ports:
|
|
|
|
- "4317:4317" # otlp grpc
|
|
|
|
depends_on:
|
|
|
|
- tempo-init
|