forked from chirpstack/chirpstack-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinfluxdb.yml
21 lines (19 loc) · 885 Bytes
/
influxdb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (C) CampusIoT, - All Rights Reserved
# Written by CampusIoT Dev Team, 2016-2018
version: "2"
services:
influxdb:
image: influxdb
environment:
INFLUXDB_ADMIN_USER: admin
INFLUXDB_ADMIN_PASSWORD: __SUPER_SECRET_TO_CHANGE__
INFLUXDB_USER: campusiot
INFLUXDB_USER_PASSWORD: __SUPER_SECRET_TO_CHANGE__
volumes:
# If the Docker image finds any files with the extensions .sh or .iql inside of the /docker-entrypoint-initdb.d folder, it will execute them. The order they are executed in is determined by the shell. This is usually alphabetical order.
- ./configuration/influxdb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro
- ./data/influxdb:/var/lib/influxdb
ports:
- 8086:8086 #8086 HTTP API port
- 8083:8083 #8083 Administrator interface port, if it is enabled
restart: unless-stopped