kopia lustrzana https://github.com/Haxxnet/Compose-Examples
chore: remove whitespaces; add optional influxdb v2
rodzic
14832b3e01
commit
f707a17e20
|
@ -46,6 +46,26 @@ services:
|
|||
#networks:
|
||||
# - monitoring_default
|
||||
|
||||
#influxdb:
|
||||
# image: influxdb:2.7
|
||||
# container_name: influxdb2
|
||||
# restart: unless-stopped
|
||||
# expose:
|
||||
# - 8086
|
||||
# environment:
|
||||
# - DOCKER_INFLUXDB_INIT_USERNAME=admin
|
||||
# - DOCKER_INFLUXDB_INIT_PASSWORD=change-me-1 # <-- change this pw
|
||||
# - DOCKER_INFLUXDB_INIT_ORG=influx-org
|
||||
# - DOCKER_INFLUXDB_INIT_BUCKET=influx-bucket
|
||||
# - DOCKER_INFLUXDB_INIT_RETENTION=30d
|
||||
# - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=change-me-2 # <-- change this pw
|
||||
# - DOCKER_INFLUXDB_INIT_MODE=setup
|
||||
# volumes:
|
||||
# - ./volume-data/influxdb2/data:/var/lib/influxdb2
|
||||
# - ./volume-data/influxdb2/conf:/etc/influxdb2
|
||||
# networks:
|
||||
# - monitoring_default
|
||||
|
||||
telegraf:
|
||||
image: telegraf:latest
|
||||
container_name: telegraf
|
||||
|
@ -74,7 +94,7 @@ services:
|
|||
# - monitoring_default
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana-oss:latest
|
||||
image: grafana/grafana-oss:12.0.0
|
||||
container_name: grafana
|
||||
hostname: grafana
|
||||
restart: unless-stopped
|
||||
|
|
Ładowanie…
Reference in New Issue