-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
86 lines (85 loc) · 1.69 KB
/
docker-compose.yml
File metadata and controls
86 lines (85 loc) · 1.69 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
services:
world-list-service:
build:
args:
- SERVICE_NAME=world-list-service
ports:
- "8080:8080"
volumes:
- configs:/app/etc
team-service:
build:
args:
- SERVICE_NAME=team-service
ports:
- "8081:8081"
volumes:
- configs:/app/etc
depends_on:
- artemis
game-service:
build:
args:
- SERVICE_NAME=game-service
ports:
- "8082:8082"
volumes:
- configs:/app/etc
depends_on:
- artemis
user-service:
build:
args:
- SERVICE_NAME=user-service
ports:
- "8083:8083"
volumes:
- configs:/app/etc
depends_on:
- artemis
oauth-client:
build:
args:
- SERVICE_NAME=oauth-client
ports:
- "8084:8084"
volumes:
- configs:/app/etc
artemis:
image: apache/activemq-artemis:2.41.0-alpine
environment:
- ARTEMIS_USER=artemis
- ARTEMIS_PASSWORD=artemis
ports:
- "61616:61616"
- "8161:8161"
prometheus:
image: prom/prometheus:v3.4.0
ports:
- "9090:9090"
volumes:
- ./etc/prometheus.yaml:/etc/prometheus/prometheus.yml
- data:/prometheus
grafana:
image: grafana/grafana-enterprise:12.0.0
ports:
- "3000:3000"
volumes:
- data:/var/lib/grafana
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
- ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
depends_on:
- prometheus
volumes:
configs:
driver: local
driver_opts:
type: none
o: bind
device: ./etc
data:
driver: local
driver_opts:
type: none
o: bind
device: ./data