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

Deploy flask app using nginx with bjoern and supervisor #210

Open
aasi24 opened this issue Mar 9, 2021 · 1 comment
Open

Deploy flask app using nginx with bjoern and supervisor #210

aasi24 opened this issue Mar 9, 2021 · 1 comment

Comments

@aasi24
Copy link

aasi24 commented Mar 9, 2021

No description provided.

@aasi24 aasi24 changed the title Hi Deploy flask app using nginx with bjoern and supervisor Mar 9, 2021
@aasi24
Copy link
Author

aasi24 commented Mar 9, 2021

Hi,

I am trying to deploy an app on prod using bjoern , right now I am using gunicorn supervisor for my app configuration and setting file is like

[program:hello_world]
directory=/home/ubuntu/hello_world
command=/home/ubuntu/venv/bin/gunicorn app:app -b localhost:8000
autostart=true
autorestart=true
stderr_logfile=/var/log/hello_world/hello_world.err.log
stdout_logfile=/var/log/hello_world/hello_world.out.log

how can I configure bjoern using supervisor with auto restart on machine restart and logs maintaining

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

No branches or pull requests

1 participant