-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
54 lines (50 loc) · 1.2 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
services:
api:
container_name: api
build:
context: .
dockerfile: Dockerfile
ports:
- "4000:4000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4000/healthcheck"]
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
volumes:
- ./session-keys:/app/session-keys
dozzle:
container_name: dozzle
image: amir20/dozzle:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 8080:8080
prometheus:
image: prom/prometheus
container_name: prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- 9090:9090
restart: unless-stopped
volumes:
- ./prometheus:/etc/prometheus
- prom_data:/prometheus
grafana:
image: grafana/grafana
container_name: grafana
ports:
- 3000:3000
restart: unless-stopped
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=password
volumes:
- ./grafana/provisioning:/etc/grafana/provisioning
- ./grafana/dashboards:/var/lib/grafana/dashboards
- grafana-storage:/var/lib/grafana
volumes:
prom_data:
grafana-storage: