Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
version: '3'
volumes:
- OSMstorage:
+ ro_db:
+ mongo_db:
+ mon_db:
+ osm_packages:
networks:
netOSM:
external: true
# - "27017:27017"
networks:
- netOSM
+ volumes:
+ - mongo_db:/data/db
nbi:
image: osm/nbi
networks:
- netOSM
volumes:
- - OSMstorage:/app/storage
+ - osm_packages:/app/storage
environment:
OSMNBI_DATABASE_HOST: mongo
OSMNBI_MESSAGE_HOST: kafka
image: osm/lcm
networks:
- netOSM
- volumes:
- - OSMstorage:/app/storage
+# volumes:
+# - OSMstorage:/app/storage
environment:
OSMLCM_RO_HOST: ro
OSMLCM_DATABASE_HOST: mongo
image: mysql:5
networks:
- netOSM
+ volumes:
+ - ro_db:/var/lib/mysql
env_file:
- ./ro-db.env
# ports:
image: osm/mon
networks:
- netOSM
+ volumes:
+ - mon_db:/app/database
environment:
BROKER_URI: kafka:9092
+ DATABASE: sqlite:///app/database/mon_sqlite.db
env_file:
- ./mon.env
#depends_on: