fix nats-api not working in docker
@@ -8,17 +8,16 @@ networks:
driver: default
config:
- subnet: 172.20.0.0/24
- api-db:
- redis:
- mesh-db:
+ api-db: null
+ redis: null
+ mesh-db: null # docker managed persistent volumes
-# docker managed persistent volumes
volumes:
- tactical_data:
- postgres_data:
- mongo_data:
- mesh_data:
- redis_data:
+ tactical_data: null
+ postgres_data: null
+ mongo_data: null
+ mesh_data: null
+ redis_data: null
services:
# postgres database for api service
@@ -82,6 +81,7 @@ services:
volumes:
- tactical_data:/opt/tactical
networks:
+ api-db: null
proxy:
aliases:
- ${API_HOST}
@@ -102,7 +102,7 @@ services:
proxy:
aliases:
- ${MESH_HOST}
- mesh-db:
+ mesh-db: null
volumes:
- tactical_data:/opt/tactical
- mesh_data:/home/node/app/meshcentral-data
