From d7ffd439efbe524ad6da915a08a7054fe73f439e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Fri, 4 Jan 2019 10:21:16 +0100 Subject: [PATCH] Fix xqueue consumer command This should address issue #109. --- CHANGELOG.md | 1 + deploy/k8s/.gitignore | 1 + deploy/k8s/{deployments => templates}/ingress.yml | 0 deploy/local/templates/docker-compose.yml | 3 +-- 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 deploy/k8s/.gitignore rename deploy/k8s/{deployments => templates}/ingress.yml (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcb245b..75f0753 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Changelog +- 2019-01-04 [Bugfix] Fix xqueue consumer command - 2018-12-26 [Improvement] Upgrade nodejs to 5.5.1 - 2018-12-07 [Improvement] Bundle theme and production static assets in the openedx docker image - 2018-12-02 [Feature] Download extra locales from [openedx-i18n](https://github.com/regisb/openedx-i18n/) to the Open edX Docker image diff --git a/deploy/k8s/.gitignore b/deploy/k8s/.gitignore new file mode 100644 index 0000000..47def24 --- /dev/null +++ b/deploy/k8s/.gitignore @@ -0,0 +1 @@ +/env/ diff --git a/deploy/k8s/deployments/ingress.yml b/deploy/k8s/templates/ingress.yml similarity index 100% rename from deploy/k8s/deployments/ingress.yml rename to deploy/k8s/templates/ingress.yml diff --git a/deploy/local/templates/docker-compose.yml b/deploy/local/templates/docker-compose.yml index 2fe43bc..945ae00 100644 --- a/deploy/local/templates/docker-compose.yml +++ b/deploy/local/templates/docker-compose.yml @@ -182,8 +182,7 @@ services: environment: DJANGO_SETTINGS_MODULE: xqueue.tutor restart: unless-stopped - # Run 12 workers per queue - command: ./manage.py run_consumer 12 + command: ./manage.py run_consumer depends_on: - mysql {% endif %}