-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (38 loc) · 983 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
version: '3.4'
x-common-variables: &common-variables
INFLUXDB_DB: alfalfa
INFLUXDB_HTTP_AUTH_ENABLED: "true"
INFLUXDB_ADMIN_USER: admin
INFLUXDB_ADMIN_PASSWORD: password
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: password
services:
influxdb:
image: influxdb:1.8
hostname: influxdb
ports:
- "8086:8086"
environment: *common-variables
restart: always
grafana:
image: grafana/grafana:latest
# build:
# context: './grafana'
# args:
# - INFLUXDB_ADMIN_USER
# - INFLUXDB_ADMIN_PASSWORD
# - INFLUXDB_DB
# - INFLUXDB_HOST
hostname: grafana
# image: ${HISTORIAN_GUI_REGISTRY_URI}:${VERSION_TAG}
ports:
- "3000:3000"
environment: *common-variables
# - GF_SECURITY_ADMIN_USER
# - GF_SECURITY_ADMIN_PASSWORD
# - INFLUXDB_DB
# - INFLUXDB_HOST
# - INFLUXDB_ADMIN_USER
# - INFLUXDB_ADMIN_PASSWORD
depends_on:
- influxdb