-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (41 loc) · 1.32 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
version: '3.7'
services:
influxdb:
image: functiondeliverynetwork/influxdb:latest
build: influxdb
ports:
- '8086:8086'
volumes:
- influxdb-storage:/var/lib/influxdb
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=${INFLUXDB_USERNAME}
- DOCKER_INFLUXDB_INIT_PASSWORD=${INFLUXDB_PASSWORD}
- DOCKER_INFLUXDB_INIT_ORG=${INFLUXDB_ORG}
- DOCKER_INFLUXDB_INIT_BUCKET=${INFLUXDB_BUCKET}
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN}
- V1_DB_NAME=${V1_DB_NAME}
- V1_RP_NAME=${V1_RP_NAME}
- V1_AUTH_USERNAME=${V1_AUTH_USERNAME}
- V1_AUTH_PASSWORD=${V1_AUTH_PASSWORD}
grafana:
image: functiondeliverynetwork/grafana:latest
build: grafana
ports:
- '3001:3000'
volumes:
- grafana-storage:/var/lib/grafana
depends_on:
- influxdb
environment:
- GF_SECURITY_ADMIN_USER=${GRAFANA_USERNAME}
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}
- V1_DB_NAME=${V1_DB_NAME}
- V1_AUTH_USERNAME=${V1_AUTH_USERNAME}
- V1_AUTH_PASSWORD=${V1_AUTH_PASSWORD}
- DOCKER_INFLUXDB_INIT_ORG=${INFLUXDB_ORG}
- DOCKER_INFLUXDB_INIT_BUCKET=${INFLUXDB_BUCKET}
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN}
volumes:
influxdb-storage:
grafana-storage: