building out the backend for DSR automation
This commit is contained in:
35
influxdb/docker-compose.yml
Normal file
35
influxdb/docker-compose.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
# compose.yaml
|
||||
services:
|
||||
influxdb2:
|
||||
image: influxdb:2
|
||||
container_name: reachableceo-influxdb
|
||||
ports:
|
||||
- 4000:8086
|
||||
environment:
|
||||
DOCKER_INFLUXDB_INIT_MODE: setup
|
||||
DOCKER_INFLUXDB_INIT_USERNAME_FILE: /run/secrets/influxdb2-admin-username
|
||||
DOCKER_INFLUXDB_INIT_PASSWORD_FILE: /run/secrets/influxdb2-admin-password
|
||||
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN_FILE: /run/secrets/influxdb2-admin-token
|
||||
DOCKER_INFLUXDB_INIT_ORG: docs
|
||||
DOCKER_INFLUXDB_INIT_BUCKET: home
|
||||
secrets:
|
||||
- influxdb2-admin-username
|
||||
- influxdb2-admin-password
|
||||
- influxdb2-admin-token
|
||||
volumes:
|
||||
- type: volume
|
||||
source: influxdb2-data
|
||||
target: /var/lib/influxdb2
|
||||
- type: volume
|
||||
source: influxdb2-config
|
||||
target: /etc/influxdb2
|
||||
secrets:
|
||||
influxdb2-admin-username:
|
||||
file: $HOME/.env/influxdb2/admin-username
|
||||
influxdb2-admin-password:
|
||||
file: $HOME/.env/influxdb2/admin-password
|
||||
influxdb2-admin-token:
|
||||
file: $HOME/.env/influxdb2/admin-token
|
||||
volumes:
|
||||
influxdb2-data:
|
||||
influxdb2-config:
|
Reference in New Issue
Block a user