To manage standalone configuration of Foresight Mobile Platform, use the docker-compose utility and the docker-compose.standalone.yml configuration file in the archive standalone_compose_files_v25.03.<version number>.zip.
NOTE. For details about configuration file, contact technical support sending an request to support@fsight.ru or technical support services that are available after registration at the website.
Main commands to work with Docker components are executed from the server console:
up. Start containers:
First startup:
% docker-compose -f docker-compose.standalone.yml up -d
To enable logging of mobile platform component, use the docker-compose.logs.yml file during containers startup:
% docker-compose -f docker-compose.standalone.yml -f docker-compose.logs.yml up -d
Next startups:
% docker-compose -f docker-compose.standalone.yml start
restart. Restart running containers:
% docker-compose -f docker-compose.standalone.yml restart
stop. Stop running containers:
% docker-compose -f docker-compose.standalone.yml stop
down. Delete running containers:
% docker-compose -f docker-compose.standalone.yml down
Features of command execution:
When restarting the running containers, updates in the docker-compose.standalone.yml file are not applied.
When deleting the running containers, their data is saved. On the next first start, updates in the docker-compose.standalone.yml file are applied.
To restart containers using updates, it is recommended to use the commands down and up instead of restart or stop and start.
See also:
Installing and Setting Up Foresight Mobile Platform | Standalone Configuration | Updating Standalone Configuration of Foresight Mobile Platform | Administration and Access Control