cocalc-docker icon indicating copy to clipboard operation
cocalc-docker copied to clipboard

restarting a project with a custom command

Open onayg opened this issue 4 years ago • 1 comments

I installed syncthing into the docker, configured so that it syncs a project with my computer. When I restart a project I restart accordingly syncthing from the terminal file.

I would be nice to automatize this, e.g. running syncthing --no-browser at every restart.

What is the best way?

onayg avatar Nov 20 '21 09:11 onayg

In theory this is the best way -- https://doc.cocalc.com/project-init.html

I'm not 100% certain this is supported in cocalc-docker though. Give it a try.

williamstein avatar Nov 20 '21 21:11 williamstein

https://doc.cocalc.com/project-init.html is definitely fully supported in cocalc-docker, and does solve this problem.

williamstein avatar Mar 15 '23 15:03 williamstein