-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 919 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (41 loc) · 919 Bytes
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
version: "3.9"
services:
app:
image: 'weather:latest'
build:
context: .
ports:
- "9595-9597:8080"
deploy:
mode: replicated
replicas: 3
networks:
- open-weather-network
prometheus:
image: prom/prometheus:v2.35.0
container_name: prometheus
restart: unless-stopped
ports:
- "9090:9090"
volumes:
- ./data/prometheus/config:/etc/prometheus/
command:
- '--config.file=/etc/prometheus/prometheus.yaml'
networks:
- open-weather-network
grafana:
image: grafana/grafana-oss:8.5.2
pull_policy: always
container_name: grafana
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- ./data/grafana:/var/lib/grafana
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_SERVER_DOMAIN=localhost
networks:
- open-weather-network
networks:
open-weather-network: