mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
docs/Platforms/FOSS/Container/Docker/Meteor3/build.sh lists every script of the directory in groups (server setup, customers, backups, running) and asks each one's parameters. Its settings.ini (mode 600, set from the menu) names the server - a host of ~/.ssh/config such as c2 - and the directory on it. With a server set nothing runs locally: the scripts and templates are copied to that directory and the script runs there over ssh -t, so the machine the menu runs on keeps no passwords. A config example is shown, never run. tests/meteor3BuildMenu.test.cjs plays the server with a fake ssh: every .sh is in the menu, settings round-trip, the script runs on the server after the copy, settings.ini and admin.txt are never copied, and a host that is an ssh option, a relative directory, an unknown script or a bad customer name are refused. Thanks to xet7 !