Change timescaleDB bind mount to docker volume for easier deployment.
All checks were successful
Build Docker image / build (push) Successful in 1m36s
Build Golang packages / release (push) Has been skipped

This commit is contained in:
Pieter Hollander 2024-03-27 18:13:23 +01:00
parent 17e1f54ab2
commit 3a421b1344
Signed by: pieter
SSH key fingerprint: SHA256:HbX+9cBXsop9SuvL+mELd29sK+7DehFfdVweFVDtMSg

View file

@ -14,7 +14,7 @@ services:
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /opt/opendtu-logger/database:/var/lib/postgresql/data - opendtu_db:/var/lib/postgresql/data
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${PG_USER}"] test: ["CMD-SHELL", "pg_isready -U ${PG_USER}"]
interval: 5s interval: 5s
@ -61,4 +61,5 @@ networks:
internal: internal:
attachable: true attachable: true
volumes: volumes:
opendtu_logger_grafana: opendtu_logger_grafana:
opendtu_db: