docker-compose has a --detach option, have a look at that.
And lave a look at this as well (goes in the docker-compose.yaml file):There's more here:Code:
restart: always
https://stackoverflow.com/questions/436 ... m-start-up
Thank you add to the docker-compose.yaml file
and I have add to the .bashrc
Code:
echo Running at bootcd /home/johan/Documents/server/raspberry_pi_server/raspberry_pi_server_serverdart bin/main.dart --apply-migrationse
Thank you all for the help
Statistics: Posted by Johan F Scheepers — Tue Oct 08, 2024 8:46 am