Remove grafana from compose.yml
This commit is contained in:
parent
fda8892cb8
commit
8132344c2a
1 changed files with 0 additions and 44 deletions
|
@ -1,44 +0,0 @@
|
||||||
version: '3.8'
|
|
||||||
services:
|
|
||||||
timescaledb:
|
|
||||||
image: timescale/timescaledb:latest-pg15
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: ${PG_USER}
|
|
||||||
POSTGRES_PASSWORD: ${PG_PASSWORD}
|
|
||||||
POSTGRES_DB: ${PG_DB}
|
|
||||||
ports:
|
|
||||||
- "5433:5432"
|
|
||||||
networks:
|
|
||||||
- internal
|
|
||||||
volumes:
|
|
||||||
- /etc/timezone:/etc/timezone:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /opt/p1-logger/database:/var/lib/postgresql/data
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "pg_isready -U ${PG_USER}"]
|
|
||||||
interval: 5s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 20
|
|
||||||
|
|
||||||
p1-logger:
|
|
||||||
image: git.hollander.online/energy/p1-logger:main
|
|
||||||
environment:
|
|
||||||
MQTT_BROKER: ${MQTT_BROKER}
|
|
||||||
MQTT_TOPIC: ${MQTT_TOPIC}
|
|
||||||
MQTT_USERNAME: ${MQTT_USERNAME}
|
|
||||||
MQTT_PASSWORD: ${MQTT_PASSWORD}
|
|
||||||
PG_DB: ${PG_DB}
|
|
||||||
depends_on:
|
|
||||||
timescaledb:
|
|
||||||
condition: service_healthy
|
|
||||||
networks:
|
|
||||||
- internal
|
|
||||||
volumes:
|
|
||||||
- /etc/timezone:/etc/timezone:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
|
|
||||||
networks:
|
|
||||||
internal:
|
|
||||||
attachable: true
|
|
||||||
proxy:
|
|
||||||
external: {}
|
|
Loading…
Reference in a new issue