mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-18 02:55:17 +00:00
8e46b4ca2b
Xqueue is no longer run by default. Instead, add the ACTIVATE_XQUEUE environment variable to add it to the platform.
28 lines
634 B
YAML
28 lines
634 B
YAML
version: "3"
|
|
services:
|
|
|
|
############# Xqueue: external grading of Open edX problems
|
|
xqueue:
|
|
image: regis/openedx-xqueue:hawthorn
|
|
build:
|
|
context: ./xqueue
|
|
volumes:
|
|
- ./config/xqueue:/openedx/config
|
|
- ./data/xqueue:/openedx/data
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- mysql
|
|
|
|
xqueue_consumer:
|
|
image: regis/openedx-xqueue:hawthorn
|
|
build:
|
|
context: ./xqueue
|
|
volumes:
|
|
- ./config/xqueue:/openedx/config
|
|
- ./data/xqueue:/openedx/data
|
|
restart: unless-stopped
|
|
# Run 12 workers per queue
|
|
command: ./manage.py run_consumer 12
|
|
depends_on:
|
|
- mysql
|