diff --git a/Procfile b/Procfile index 14d1ea0..cdc7393 100644 --- a/Procfile +++ b/Procfile @@ -2,5 +2,5 @@ web: ./manage.py runserver watch-js: npm run build:js -- --watch watch-css: npm run build:css -- --watch watch-contrib: ./scripts/copy-npm-contrib.sh; while inotifywait -e modify ./scripts/copy-npm-contrib.sh; do ./scripts/copy-npm-contrib.sh; done -redis: redis-server -rqworker: ./manage.py rqworker --with-scheduler +docker: docker-compose -f docker/dev/docker-compose.yml up +rqworker: sleep 5 && ./manage.py rqworker --with-scheduler diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml new file mode 100644 index 0000000..36af809 --- /dev/null +++ b/docker/dev/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.7' +services: + redis: + image: redis:6.0 + ports: + - 127.0.0.1:6379:6379