Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Docker container autostart #39

Open
vigliensoni opened this issue Sep 4, 2019 · 2 comments
Open

Implement Docker container autostart #39

vigliensoni opened this issue Sep 4, 2019 · 2 comments

Comments

@vigliensoni
Copy link
Member

The Docker container should start the web application after a system boot or app crash.

@deepio
Copy link
Member

deepio commented Sep 5, 2019

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

@DavidGarfinkle
Copy link
Collaborator

added "restart: always" to the docker-compose file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants