-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (52 loc) · 1.38 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
45
46
47
48
49
50
51
52
53
54
55
56
57
version: "3"
services:
monitoring-prometheus-service:
build:
context: ./prometheus
args:
- config.file=/etc/prometheus/prometheus.yml
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
container_name: monitoring-prometheus-service
image: gasperlf/monitoring-prometheus-service
ports:
- "9090:9090"
networks:
- my-network-services
monitoring-grafana-service:
build:
context: ./grafana
container_name: monitoring-grafana-service
image: gasperlf/monitoring-grafana-service
ports:
- "3000:3000"
networks:
- my-network-services
depends_on:
- monitoring-prometheus-service
api-finance-service:
build:
context: ./api-finance-service
container_name: api-finance-service
image: gasperlf/api-finance-service:0.0.1-SNAPSHOT
ports:
- "8080:8080"
networks:
- my-network-services
depends_on:
- monitoring-prometheus-service
api-finance-service-reactive:
build:
context: ./api-finance-service-reactive
container_name: api-finance-service-reactive
image: gasperlf/api-finance-service-reactive:0.0.1-SNAPSHOT
ports:
- "8081:8081"
networks:
- my-network-services
depends_on:
- monitoring-prometheus-service
networks:
my-network-services:
driver: bridge
# docker-compose up -d/--no-start