move storage

This commit is contained in:
root on odroid 2023-01-14 17:08:20 +00:00
parent 039a8528ff
commit 2747fe8f0a
2 changed files with 2 additions and 2 deletions

2
.env
View File

@ -4,7 +4,7 @@ GRAFANA_PORT=3002
ZIGBEE_MQTT_PORT=1884
HOST_IP=192.168.222.123
DATA_DIR=/opt/monitoring/
DATA_DIR=/mnt/storage/monitoring/
TIMESCALE_PASSWORD=ood2eeZu

View File

@ -49,7 +49,7 @@ services:
environment:
POSTGRES_PASSWORD: ${TIMESCALE_PASSWORD}
volumes:
- ${DATA_DIR}/timescale:/home/postgres/pgdata/data
- ${DATA_DIR}/timescale:/var/lib/postgresql/data
mqtt:
image: eclipse-mosquitto:latest