Running Flogo Flow State Manager as a Standalone App
- Procedure
- Start Flogo Flow State Manager by executing the binary for your operating system:
flowstatemanager-windows_amd64
(Windows executable)flowstatemanager-linux_amd64
(Linux executable)flowstatemanager-darwin_amd64
(Mac executable)
- Copy the
<flogo_flow_state_manager.tar>\config\postgres\config.json
into thebin
directory. If theconfig.json
file exists in any other directory, you can also set theFLOW_STATE_CONFIG
environment variable to point to the location as follows:FLOW_STATE_CONFIG=<file path>
- Update the values in
config.json
as follows:{
"exposeRecorder": true,
"port": "
<The port on which you want to start the flow state manager binary>
","persistence": {
"type":"postgres",
"name": "pg-server-1",
"description": "",
"host": "
<The IP address where Postgres is running>
","port": "
<port on which the Postgres database server is running>
","databaseName": "postgres",
"user": "
<user value configured while starting PostgreSQL server)>
","password": "
<password value configured while starting PostgreSQL server>
","Maintenance database": <same as <user>, if not specifically mentioned while starting postgreSQL>
"maxopenconnection": "0",
"maxidleconnection": "2",
"connmaxlifetime": "0",
"maxconnectattempts": "3",
"connectionretrydelay": "5",
"tlsparam": "VerifyCA",
"cacert": "",
"clientcert": "",
"clientkey": ""
}
}