Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PRODDEV-522] fix progs image build #57

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose-b2b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 16 additions & 1 deletion docker-compose-progs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ services:
- analytics.edraak.dev
- auth.edraak.dev

redis:
image: "redis:alpine"

volumes:
elasticsearch_data:
mongo_data:
Expand Down