-
Notifications
You must be signed in to change notification settings - Fork 245
/
Copy pathdocker-compose.yml
43 lines (41 loc) · 1015 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
41
42
43
version: '3'
services:
prometheus:
image: prom/prometheus
container_name: prometheus
volumes:
- ./provisioning/prometheus:/etc/prometheus
ports:
- '9090:9090'
alertmanager:
image: prom/alertmanager
container_name: alertmanager
ports:
- '9093:9093'
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- '3000:3000'
volumes:
- ./provisioning/grafana/datasources:/etc/grafana/provisioning/datasources
- ./provisioning/grafana/dashboards:/etc/grafana/provisioning/dashboards
node-exporter: # addidional service as a exporter example
image: prom/node-exporter
container_name: node-exporter
ports:
- '9100:9100'
web:
restart: always
build: .
environment:
ENABLE_PROMETHEUS: 1
command: ./entrypoint.sh
volumes:
- .:/app
- ./db.sqlite3:/db.sqlite3
- static_volume:/usr/src/app/jobs/staticfiles
ports:
- "8000:8000"
volumes:
static_volume: