Updated docker-compose.yml to support the changes

This commit is contained in:
Gleb Tcivie 2024-06-28 19:50:19 +03:00
parent 0866af8db5
commit b4aa61b54e

View file

@ -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: