billmania / roboquest_core

The backend functionality for the RoboQuest project
1 stars 0 forks source link

Updated updater.py to mount /opt/persist onto the rq_core #48

Closed billmania closed 1 year ago

billmania commented 1 year ago

The rq_core container now requires the /opt/persist directory, in order to share the servos_config.json file with the rq_ui container.

Tested by removing the file /opt/persist/servs_config.json from the base OS and then restarting the rq_core container. The file is put in place. Change the config of a servo using the rq_ui UI and confirmed the change was saved to /opt/persis/servos_config.json and the previous version was archived. Rebooted the RaspPi4b and confirmed the config change was preserved.

Required by rq_core PR #47