mirror of
https://github.com/tcivie/meshtastic-metrics-exporter.git
synced 2025-03-05 20:52:02 -08:00
Updated docker-compose.yml to support the changes
This commit is contained in:
parent
0866af8db5
commit
b4aa61b54e
|
@ -1,7 +1,7 @@
|
||||||
volumes:
|
volumes:
|
||||||
prometheus_data:
|
prometheus_data:
|
||||||
grafana_data:
|
grafana_data:
|
||||||
redis_data:
|
postgres_data:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
prometheus:
|
prometheus:
|
||||||
|
@ -42,13 +42,18 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- mesh-bridge
|
- mesh-bridge
|
||||||
|
|
||||||
redis:
|
postgres:
|
||||||
image: redis:7
|
image: postgres:13.3
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- mesh-bridge
|
- mesh-bridge
|
||||||
volumes:
|
volumes:
|
||||||
- redis_data:/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
- ./docker/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: "postgres"
|
||||||
|
POSTGRES_PASSWORD: "postgres"
|
||||||
|
POSTGRES_DB: "meshtastic"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
mesh-bridge:
|
mesh-bridge:
|
||||||
|
|
Loading…
Reference in a new issue