generated from apollographql/typescript-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
32 lines (30 loc) · 922 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
version: '3'
services:
db-timeseries:
container_name: influxdb2
image: influxdb:latest
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: admin
DOCKER_INFLUXDB_INIT_PASSWORD: password
DOCKER_INFLUXDB_INIT_ORG: admin
DOCKER_INFLUXDB_INIT_BUCKET: backtest
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: 1Vm2wdJdEM9BBxR8LHio1jjgAyx9Glm1SGQqQeBid5QPMqbvdIPjYxMhswV8AKKhA00s-ITdJgJqqJ6cX3cntA==
V1_DB_NAME: v1-db
V1_RP_NAME: v1-rp
V1_AUTH_USERNAME: admin
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