Open vigliensoni opened 5 years ago
You can create a supervisor config, this should get you started @DavidGarfinkle
[program:cbsmr]
command=/server/webapps/somestartscript.sh
environment=/server/webapps/env/bin/activate
directory=/server/webapps/
user=cbsmr-user
autostart=true
autorestart=true
added "restart: always" to the docker-compose file
The Docker container should start the web application after a system boot or app crash.