-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
100 lines (92 loc) · 2.1 KB
/
docker-compose.yml
File metadata and controls
100 lines (92 loc) · 2.1 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
services:
shortlyd:
build:
context: .
dockerfile: ./Dockerfile
args:
GOCACHE: ${GOCACHE}
GOMODCACHE: ${GOMODCACHE}
platforms:
- linux/amd64
ports:
- 8080:8080
# - 6060:6060
env_file: .env
networks:
- shortly-net
depends_on:
- mongodb
jaeger:
image: jaegertracing/all-in-one:latest
networks:
- shortly-net
restart: unless-stopped
environment:
- COLLECTOR_OTLP_ENABLED=true
ports:
- 6831:6831/udp # Agent (compact thrift protocol)
- 16686:16686 # Jaeger UI
- 4318:4318 # OpenTelemetry HTTP
# prometheus:
# image: prom/prometheus
# ports:
# - 9090:9090
# restart: unless-stopped
# volumes:
# - ./deploy/prom:/etc/prometheus
# - prometheus-data:/prometheus
# command:
# - --config.file=/etc/prometheus/prometheus.yml
# depends_on:
# - shortlyd
# networks:
# - shortly-net
# grafana:
# image: grafana/grafana
# ports:
# - 3000:3000
# restart: unless-stopped
# volumes:
# - ./deploy/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
# - grafana-data:/var/lib/grafana
# depends_on:
# - prometheus
# networks:
# - shortly-net
# alertmanager:
# image: prom/alertmanager
# ports:
# - 9093:9093
# restart: unless-stopped
# volumes:
# - ./cmd/shortlyd/deploy/prom:/etc/prometheus
# - alertmanager-data:/data
# command: --config.file=/etc/prometheus/alertmanager.yml --log.level=debug
# depends_on:
# - shortly
# redis:
# image: redis
# ports:
# - 6379:6379
# volumes:
# - redis-data:/data
# restart: on-failure
# networks:
# - shortly
mongodb:
image: mongo:latest
networks:
- shortly-net
ports:
- 27017:27017
volumes:
- shortly-mongodb-data:/data/db
networks:
shortly-net:
driver: bridge
volumes:
grafana-data:
prometheus-data:
# alertmanager-data:
# redis-data:
shortly-mongodb-data: