reorganize config
This commit is contained in:
parent
16d919af62
commit
92a072e8aa
|
@ -13,7 +13,6 @@ services:
|
|||
volumes:
|
||||
- "${DATA_DIR}/grafana/data:/var/lib/grafana"
|
||||
- "${DATA_DIR}/grafana/log:/var/log/grafana"
|
||||
- "./grafana/config:/etc/grafana"
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_PASSWORD=secret
|
||||
- GF_SERVER_ROOT_URL=http://${HOST_IP}:${GRAFANA_PORT}/
|
||||
|
@ -35,16 +34,16 @@ services:
|
|||
- "host.docker.internal:host-gateway"
|
||||
|
||||
influxdb:
|
||||
image: "influxdb:latest"
|
||||
image: influxdb:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${INFLUX_PORT}:8086"
|
||||
volumes:
|
||||
- "${DATA_DIR}/influxdb:/var/lib/influxdb"
|
||||
restart: unless-stopped
|
||||
- ${DATA_DIR}/influxdb:/var/lib/influxdb
|
||||
|
||||
timescaledb:
|
||||
restart: unless-stopped
|
||||
image: timescale/timescaledb-ha:pg14-latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${TIMESCALE_PASSWORD}
|
||||
volumes:
|
||||
|
@ -56,10 +55,10 @@ services:
|
|||
ports:
|
||||
- "${MQTT_PORT}:1883"
|
||||
volumes:
|
||||
- "./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf"
|
||||
- "./mosquitto/users:/mosquitto/config/users"
|
||||
- "${DATA_DIR}/mosquitto/data:/mosquitto/data"
|
||||
- "${DATA_DIR}/mosquitto/log:/mosquitto/log"
|
||||
- ./config/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
|
||||
- ./config/mosquitto/users:/mosquitto/config/users
|
||||
- ${DATA_DIR}/mosquitto/data:/mosquitto/data
|
||||
- ${DATA_DIR}/mosquitto/log:/mosquitto/log
|
||||
restart: unless-stopped
|
||||
|
||||
zigbee2mqtt:
|
||||
|
@ -82,5 +81,5 @@ services:
|
|||
- influxdb
|
||||
- timescaledb
|
||||
volumes:
|
||||
- ./telegraf/:/etc/telegraf/
|
||||
- ./config/telegraf/:/etc/telegraf/
|
||||
|
||||
|
|
Loading…
Reference in New Issue