Running Flogo Flow State Manager on Docker

To run the Flogo Flow State Manager in a Docker container:

    Procedure
  1. Update <flogo_flow_state_manager.tar>\config\postgres\config.json as per your Postgres installation.
    Important: Postgres is not accessible over 'localhost' when Flogo Flow State Manager is running on Docker. You must use the machine's IP address.
  2. Go to the root folder (packaging) and run:
    docker build -t flogostatemanager:1.0.0 -f ./deployments/Dockerfile .
  3. Start the Flogo Flow State Manager service by mounting a volume for config.json:
    docker run -p 8099:8099 -v <parent absolutepath>/flowstatemanager/packaging/config/postgres/config.json:/opt/flogo/sm/config.json flogostatemanager:1.0.0