Use Gunicorn/Uvicorn in dev to reflect production setup

This commit is contained in:
Eliot Berriot 2019-07-10 11:57:29 +02:00
commit f67cc6d3c1
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27

View file

@ -49,7 +49,7 @@ services:
args:
install_dev_deps: 1
entrypoint: compose/django/dev-entrypoint.sh
command: python /app/manage.py runserver 0.0.0.0:${FUNKWHALE_API_PORT-5000}
command: uvicorn --reload config.asgi:application --host 0.0.0.0 --port 5000 --reload-dir config/ --reload-dir=funkwhale_api/
volumes:
- ./api:/app
- "${MUSIC_DIRECTORY_SERVE_PATH-./data/music}:/music:ro"