benkoo / TensorCloud

A set of open-sourced computational services orchestrated by a tensor-based metalanguage.
GNU General Public License v3.0
12 stars 13 forks source link

Wishlist: Start microservices on boot #5

Closed alexcg1 closed 6 years ago

alexcg1 commented 6 years ago

Typing in commands manually seems error prone and maybe too technical for users who just want to test things. Can we start all the docker stuff via /etc/init.d or some other way?

The commands I mean are: cd TensorCloud & docker-compose -f mariadb_mediawiki.yml -f wordpress.yml -f piwikyml -f phabricator.yml -f openmodelica-webbook.yml -f jenkins.yml up -d /home/toyhouse/resourcespace-8.3.1/ctlscript.sh start

yangboz commented 6 years ago

Yes, I have to try write down those command on Ubuntu's startup script.

yangboz commented 6 years ago

references:

https://askubuntu.com/questions/9853/how-can-i-make-rc-local-run-on-startup

https://community.bitnami.com/t/execution-by-root-not-allowed/4711

yangboz commented 6 years ago

Now, https://github.com/benkoo/TensorCloud/blob/master/ricomp.sh did the startup script support.