-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (34 loc) · 987 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (34 loc) · 987 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
37
version: '3'
services:
db-timeseries:
container_name: influxdb2
image: influxdb:latest
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: smoothbot
DOCKER_INFLUXDB_INIT_PASSWORD: password
DOCKER_INFLUXDB_INIT_ORG: smoothbot
DOCKER_INFLUXDB_INIT_BUCKET: data
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: 1Vm2wdJdEM9BBxR8LHio1jjgAyx9Glm1SGQqQeBid5QPMqbvdIPjYxMhswV8AKKhA00s-ITdJgJqqJ6cX3cntA==
V1_DB_NAME: v1-db
V1_RP_NAME: v1-rp
V1_AUTH_USERNAME: smoothbot
V1_AUTH_PASSWORD: password
volumes:
- ${PWD}/scripts:/docker-entrypoint-initdb.d
- ${PWD}/influx:/var/lib/influxdb2
ports:
- 8086:8086
grafana:
container_name: grafana_local
image: grafana/grafana
environment:
- GF_FEATURE_TOGGLES_ENABLE=publicDashboards
volumes:
- ${PWD}/data:/var/lib/grafana
ports:
- 3000:3000
mongo:
image: mongo
ports:
- 27017:27017