-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (35 loc) · 894 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (35 loc) · 894 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
# version: '3.7'
# services:
# prometheus:
# image: prom/prometheus
# container_name: prometheus
# volumes:
# - ./prometheus.yml:/etc/prometheus/prometheus.yml
# - ./prometheus-data:/prometheus
# ports:
# - '90:9090'
# grafana:
# image: grafana/grafana
# container_name: grafana
# ports:
# - '91:3000'
# environment:
# - GF_SECURITY_ALLOW_EMBEDDING=true
# - GF_SECURITY_CORS_ENABLED=true
# - GF_AUTH_DISABLE_CSRF=true
# - GF_SECURITY_CORS_ALLOW_ORIGIN=https://grafana.writon.co.kr
version: '3.7'
services:
prometheus:
image: prom/prometheus
container_name: prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./prometheus-data:/prometheus
ports:
- '90:9090'
grafana:
image: grafana/grafana
container_name: grafana
ports:
- '91:3000'