forked from eminetto/clean-architecture-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (40 loc) · 905 Bytes
/
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
version: "3"
services:
mongodb:
image: mongo
ports:
- "27017:27017"
container_name: bookmark-mongodb
network_mode: "bridge"
node:
image: node:8-alpine
network_mode: "bridge"
volumes:
- ./web:/web
- /tmp:/tmp
grafana:
image: grafana/grafana
ports:
- "3000:3000"
container_name: bookmark-grafana
network_mode: "bridge"
depends_on:
- prometheus
- prometheus-pushgateway
prometheus:
image: prom/prometheus
ports:
- 9090:9090
command:
- --config.file=/etc/prometheus/prometheus.yml
volumes:
- ./infra/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
container_name: bookmark-prometheus
network_mode: "bridge"
prometheus-pushgateway:
image: prom/pushgateway
container_name: bookmark-pushgateway
expose:
- 9091
ports:
- "9091:9091"