first
This commit is contained in:
45
docker-compose.yml
Normal file
45
docker-compose.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
version: '3.9'
|
||||
|
||||
volumes:
|
||||
mongo_data_1:
|
||||
|
||||
services:
|
||||
node:
|
||||
image: timeseries
|
||||
environment:
|
||||
DEVELOP: "true"
|
||||
MONGOHOST: mongodb
|
||||
INFLUXHOST: influxdb
|
||||
TYP: "[\"noise\", \"thp\"]"
|
||||
volumes:
|
||||
- ${PWD}/log:/var/log
|
||||
container_name: timeseries
|
||||
restart: unless-stopped
|
||||
|
||||
influx:
|
||||
image: influxdb:latest
|
||||
container_name: influxdb
|
||||
volumes:
|
||||
- ${PWD}/INFLUXSERVER/data:/var/lib/influxdb2
|
||||
- ${PWD}/INFLUXSERVER/config:/etc/influxdb2
|
||||
ports:
|
||||
- '8086:8086'
|
||||
environment:
|
||||
DOCKER_INFLUXDB_INIT_MODE: ${DOCKER_INFLUXDB_INIT_MODE}
|
||||
DOCKER_INFLUXDB_INIT_USERNAME: ${DOCKER_INFLUXDB_INIT_USERNAME}
|
||||
DOCKER_INFLUXDB_INIT_PASSWORD: ${DOCKER_INFLUXDB_INIT_PASSWORD}
|
||||
DOCKER_INFLUXDB_INIT_ORG: ${DOCKER_INFLUXDB_INIT_ORG}
|
||||
DOCKER_INFLUXDB_INIT_BUCKET: ${DOCKER_INFLUXDB_INIT_BUCKET}
|
||||
restart: unless-stopped
|
||||
|
||||
mongodb:
|
||||
image: mongo
|
||||
volumes:
|
||||
- mongo_data_1:/data/db
|
||||
- ${PWD}/TRANSFERE:/TRANSFERE
|
||||
ports:
|
||||
- "27098:27017"
|
||||
container_name: mongodb
|
||||
# command: '--auth'
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user