Skip to content
Snippets Groups Projects
Commit 5740f93b authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Add run_uwsgi rule to run the app with uwsgi

Enable to run the application closer to the production environment
parent c8435361
No related branches found
No related tags found
No related merge requests found
......@@ -53,3 +53,6 @@ db_image: ## start postgres and redis to test the latest image
test_image: ## run the tests (on the latest image)
# Pass docker-compose.yml to skip docker-compose.override.yml
docker-compose -f docker-compose.yml run --rm web
run_uwsgi: ## run the application with uwsgi (to test prod env)
docker-compose run -p 8000:8000 --rm web uwsgi --master --http 0.0.0.0:8000 --http-keepalive --manage-script-name --mount /csentry=wsgi.py --callable app --uid ics --processes 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment