diff --git a/docker-compose-b2b.yml b/docker-compose-b2b.yml index 187da8578f..54ac7b51a2 100644 --- a/docker-compose-b2b.yml +++ b/docker-compose-b2b.yml @@ -13,7 +13,7 @@ version: "2.1" services: b2b: - image: eu.gcr.io/openedx-231314/edraak/progs + image: eu.gcr.io/openedx-231314/edraak/progs:latest environment: PROGS_CFG: /app/docker-b2b.json NODE_ENV: development diff --git a/docker-compose-progs.yml b/docker-compose-progs.yml index 3ca970fa16..b32003ef64 100644 --- a/docker-compose-progs.yml +++ b/docker-compose-progs.yml @@ -13,7 +13,7 @@ version: "2.1" services: progs: - image: eu.gcr.io/openedx-231314/edraak/progs + image: eu.gcr.io/openedx-231314/edraak/progs:latest environment: PROGS_CFG: /app/docker.json NODE_ENV: development @@ -31,6 +31,21 @@ services: - ${DEVSTACK_WORKSPACE}/edraak-programs:/app:cached - ~/.ssh/:/root/.ssh + celery: + image: eu.gcr.io/openedx-231314/edraak/progs:latest + environment: + PROGS_CFG: /app/docker.json + container_name: edraak.devstack.programs.celery + command: bash -c 'while true; do celery -A edraakprograms worker -l INFO; sleep 2; done' + restart: always + working_dir: /app + depends_on: + - redis + volumes: + - progs_media:/edx/var/progs/media + - ${DEVSTACK_WORKSPACE}/edraak-programs:/app:cached + - ~/.ssh/:/root/.ssh + router: depends_on: - progs diff --git a/docker-compose.yml b/docker-compose.yml index 646f1d4ae2..3d54f5b500 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -77,6 +77,9 @@ services: - analytics.edraak.dev - auth.edraak.dev + redis: + image: "redis:alpine" + volumes: elasticsearch_data: mongo_data: