Rocket MultiValue Integration Server

Expand all | Collapse all

Using MVIS with Docker and local storage

  • 1.  Using MVIS with Docker and local storage

    Posted 08-10-2020 03:41
    I've been looking into Docker with a view to using it with MVIS.
    The manual is very short on examples, only covering using Azure for storage.
    I did see the deployment scripts, but these also lack any documentation.

    Does anyone have examples of MVIS working with docker local storage?

    ------------------------------
    Jonathan Evans
    MBS
    ------------------------------


  • 2.  RE: Using MVIS with Docker and local storage

    Posted 08-11-2020 06:21
    Hi Jonathan 

    Here is an example for using the local storage 

    docker run -d -p 7171:7171 -p 7870:7870 -p 7871:7871 -e "JAVA_OPTS=-DTYPE=MVCM -DFS_DIR=/data/" -v c:\data:/data cm:latest

    docker run -d -p 7077:7077 -e "JAVA_OPTS=-DTYPE=MVCM -DFS_DIR=/data/" -v c:\data:/data cmadmin:latest

    I have tried the below examples using Docker for desktop but should work for any docker environment. In case of docker for desktop , you need to add the host folder into the
    docker for desktop => Resources section.

    The important parameter -DFS_DIR wherein I have specified volume /data to be used for retrieving/modifying the cm.ini

    I have mounted /data/ to c:\data folder. Please make sure that you drop cm.ini into this folder before starting the container.

    Hope this helps 

    Thanks


    ------------------------------
    Amey Rokde
    Rocket Software
    ------------------------------



  • 3.  RE: Using MVIS with Docker and local storage

    Posted 08-12-2020 18:46
    Thanks Amey,

    That was very useful. I did find I needed to add a u2rest sub-directory to \data to get MVIS working smoothly, but now all works well.

    ------------------------------
    Jonathan Evans
    MBS
    ------------------------------