mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-12 16:26:40 +00:00
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
|