-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathcommon.yml
More file actions
36 lines (32 loc) · 744 Bytes
/
common.yml
File metadata and controls
36 lines (32 loc) · 744 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: '2'
services:
influxdb:
env_file:
- ./configuration.env
build:
context: ./docker/influxdb
dockerfile: Dockerfile
ports:
- '8086:8086'
- '8083:8083'
restart: always
volumes:
- influxdb_data:/var/lib/influxdb
grafana:
env_file:
- ./configuration.env
build:
context: ./docker/grafana
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- ./docker/grafana/config/grafana.ini:/etc/grafana/grafana.ini
- grafana_data:/var/lib/grafana
environment:
- GF_SERVER_ROOT_URL=http://localhost
- GF_SECURITY_ADMIN_PASSWORD=secret
- config=/etc/grafana/grafana.ini
volumes:
influxdb_data: {}
grafana_data: {}