Saves data from the TIC (Enedis Tele Information Client) received from MQTT to a TimescaleDB
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
646 B

version: '3.1'
services:
timescale:
image: docker.io/timescale/timescaledb:latest-pg12
ports:
- "5432:5432"
volumes:
- ./.podman-compose/pg-data:/var/lib/postgresql/data:z
restart: always
environment:
POSTGRES_PASSWORD: secret
POSTGRES_USER: tic
POSTGRES_HOST_AUTH_METHOD: scram-sha-256
POSTGRES_INITDB_ARGS: --auth-host=scram-sha-256
POSTGRES_DB: tic
mosquitto:
image: docker.io/library/eclipse-mosquitto:2.0
ports:
- "1883:1883"
volumes:
- ./.podman-compose/mosquitto-data:/mosquitto/data:z
- ./.podman-compose/mosquitto-config:/mosquitto/config:z