X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fdocker%2Fdocker-compose.yaml;h=a1e88bc10aded3abc875746e0817dda36ae6bb8b;hb=e1b66ed45f7723be3f76ed0d92388e0e602cefa7;hp=01b4d66bd62483d4cf6f3370edd1d545df29be1e;hpb=41012606c202ebf1b978f8cb777e5cb95708bec6;p=osm%2Fdevops.git diff --git a/installers/docker/docker-compose.yaml b/installers/docker/docker-compose.yaml index 01b4d66b..a1e88bc1 100644 --- a/installers/docker/docker-compose.yaml +++ b/installers/docker/docker-compose.yaml @@ -1,6 +1,9 @@ version: '3' volumes: - OSMstorage: + ro_db: + mongo_db: + mon_db: + osm_packages: networks: netOSM: external: true @@ -34,12 +37,14 @@ services: # - "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 @@ -53,7 +58,7 @@ services: networks: - netOSM volumes: - - OSMstorage:/app/storage + - osm_packages:/app/storage environment: OSMLCM_RO_HOST: ro OSMLCM_DATABASE_HOST: mongo @@ -68,6 +73,8 @@ services: image: mysql:5 networks: - netOSM + volumes: + - ro_db:/var/lib/mysql env_file: - ./ro-db.env # ports: @@ -88,8 +95,11 @@ services: 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: