-
Notifications
You must be signed in to change notification settings - Fork 1
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
Document and stress test production deployment #50
Comments
I'm using Docker Compose to launch the server behind an nginx reverse proxy. One level up from
In the factgenie repo root I added this
The docker compose file ensures that the gunicorn server running on port 80 inside docker is exposed at When running
|
@dmhowcroft I test it without prefix on a local setup on latest commit just to be sure.
My version used:
I have tested it with a prefix and reproduced your bug. See #51 |
FYI @kasnerz: ATM I am starting at ufal factgenie with the following config using gunicorn using this script. factgenie/config.yml
I run this
|
@oplatek You should definitely document how to use It will also be useful to show the Regarding nginx configuration, I think that's quite specific to our setup, so writing specific commands might confuse users that copy-paste it and expect it to work. |
I will document how I deploy it in case where no host_prefix is needed and then I will compare it with the setup where host_prefix is needed. |
I just tested on localhost without (without host_prefix)
gunicorn -w 1 --threads 10 'factgenie.cli:create_app()' --bind 127.0.0.1:11111
on commit 76ab57cBut we should test it thoroughly and then add it to README.
We should include a version of gunicorn, which we use.
The text was updated successfully, but these errors were encountered: