-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
44 lines (40 loc) · 1.28 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.8'
services:
ic_websocket_gateway:
image: omniadevs/ic-websocket-gateway:latest
platform: linux/amd64
container_name: ic-websocket-gateway
restart: unless-stopped
volumes:
- ./volumes/ic-ws-gateway/data:/ic-ws-gateway/data
networks:
- ic-ws-gateway-network
otlp_collector:
image: otel/opentelemetry-collector:0.92.0
container_name: otlp_collector
restart: unless-stopped
ports:
- "4317:4317" # otlp grpc receiver
volumes:
- ./telemetry/otel-config.yaml:/etc/otelcol/config.yaml
networks:
- ic-ws-gateway-network
# https://grafana.com/docs/grafana-cloud/send-data/metrics/metrics-prometheus/
prometheus:
image: prom/prometheus
# If you want to build from local customized Dockerfile enabling the config file (prometheus.yml) environment variable substitution directly
# inside the image and not outside it, you can use the provided Dockerfile image. (telemetry/prometheus/Dockerfile)
# image: local/prometheus
# build:
# context: ./
# dockerfile: ./telemetry/prometheus/Dockerfile
container_name: prometheus
ports:
- "9090:9090"
env_file:
- .env
networks:
- ic-ws-gateway-network
networks:
ic-ws-gateway-network:
name: ic-ws-gateway-network