forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into huniafatima/add-portal-designer-in-devstack
- Loading branch information
Showing
21 changed files
with
422 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -657,6 +657,17 @@ services: | |
# Dangerous to run Celery as root normally, but it's how we do things in devstack for some reason | ||
C_FORCE_ROOT: "true" | ||
|
||
codejail: | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.codejail" | ||
hostname: codejail.devstack.edx | ||
stdin_open: true | ||
tty: true | ||
image: edxops/codejail-dev:latest | ||
environment: | ||
DJANGO_SETTINGS_MODULE: codejail_service.settings.devstack | ||
ports: | ||
- "18030:8080" | ||
|
||
xqueue: | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.xqueue" | ||
image: edxops/xqueue-dev:latest | ||
|
@@ -693,6 +704,148 @@ services: | |
aliases: | ||
- edx.devstack.xqueue_consumer | ||
|
||
enterprise-catalog: | ||
image: edxops/enterprise-catalog-dev | ||
container_name: edx.devstack.enterprise-catalog | ||
hostname: enterprise-catalog.devstack.edx | ||
command: bash -c 'while true; do python /edx/app/enterprise_catalog/enterprise_catalog/manage.py runserver 0.0.0.0:18160; sleep 2; done' | ||
ports: | ||
- "18160:18160" | ||
depends_on: | ||
- memcached | ||
- mysql80 | ||
- enterprise-catalog-worker | ||
networks: | ||
default: | ||
aliases: | ||
- edx.devstack.enterprise-catalog | ||
# Allows attachment to this container using 'docker attach <containerID>'. | ||
stdin_open: true | ||
tty: true | ||
environment: | ||
CELERY_ALWAYS_EAGER: 'false' | ||
CELERY_BROKER_TRANSPORT: redis | ||
CELERY_BROKER_HOSTNAME: edx.devstack.redis:6379 | ||
CELERY_BROKER_VHOST: 0 | ||
CELERY_BROKER_PASSWORD: password | ||
DJANGO_SETTINGS_MODULE: enterprise_catalog.settings.devstack | ||
ENABLE_DJANGO_TOOLBAR: 1 | ||
DB_HOST: edx.devstack.mysql80 | ||
DB_NAME: enterprise_catalog | ||
DB_PORT: 3306 | ||
DB_USER: catalog001 | ||
DB_PASSWORD: 'password' | ||
|
||
enterprise-catalog-worker: | ||
image: edxops/enterprise-catalog-dev | ||
command: bash -c 'cd /edx/app/enterprise_catalog/enterprise_catalog && celery -A enterprise_catalog worker -Q enterprise_catalog.default -l DEBUG' | ||
container_name: edx.devstack.enterprise.catalog.worker | ||
depends_on: | ||
- mysql80 | ||
environment: | ||
CELERY_ALWAYS_EAGER: 'false' | ||
CELERY_BROKER_TRANSPORT: redis | ||
CELERY_BROKER_HOSTNAME: edx.devstack.redis:6379 | ||
CELERY_BROKER_VHOST: 0 | ||
CELERY_BROKER_PASSWORD: password | ||
DJANGO_SETTINGS_MODULE: enterprise_catalog.settings.devstack | ||
COLUMNS: 80 | ||
hostname: worker.catalog.enterprise | ||
ports: | ||
- "18161:18161" | ||
restart: always | ||
# Allows attachment to this container using 'docker attach <containerID>'. | ||
stdin_open: true | ||
tty: true | ||
|
||
enterprise-catalog-curations-worker: | ||
image: edxops/enterprise-catalog-dev | ||
command: bash -c 'cd /edx/app/enterprise_catalog/enterprise_catalog && celery -A enterprise_catalog worker -Q enterprise_catalog.curations -l DEBUG' | ||
container_name: enterprise.catalog.curations | ||
depends_on: | ||
- mysql80 | ||
environment: | ||
CELERY_ALWAYS_EAGER: 'false' | ||
CELERY_BROKER_TRANSPORT: redis | ||
CELERY_BROKER_HOSTNAME: edx.devstack.redis:6379 | ||
CELERY_BROKER_VHOST: 0 | ||
CELERY_BROKER_PASSWORD: password | ||
DJANGO_SETTINGS_MODULE: enterprise_catalog.settings.devstack | ||
COLUMNS: 80 | ||
hostname: curations.catalog.enterprise | ||
ports: | ||
- "18162:18162" | ||
restart: always | ||
# Allows attachment to this container using 'docker attach <containerID>'. | ||
stdin_open: true | ||
tty: true | ||
|
||
license-manager: | ||
image: edxops/license-manager-dev:latest | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.license-manager" | ||
hostname: license-manager.devstack.edx | ||
# Use the Django devserver, so that we can hot-reload code changes | ||
command: bash -c 'while true; do python /edx/app/license_manager/manage.py runserver 0.0.0.0:18170; sleep 2; done' | ||
ports: | ||
- "18170:18170" | ||
depends_on: | ||
- mysql80 | ||
- license-manager-worker | ||
# Allows attachment to this container using 'docker attach <containerID>'. | ||
stdin_open: true | ||
tty: true | ||
environment: | ||
CELERY_ALWAYS_EAGER: 'false' | ||
CELERY_BROKER_TRANSPORT: redis | ||
CELERY_BROKER_HOSTNAME: edx.devstack.redis:6379 | ||
CELERY_BROKER_VHOST: 0 | ||
CELERY_BROKER_PASSWORD: password | ||
DJANGO_SETTINGS_MODULE: license_manager.settings.devstack | ||
DJANGO_WATCHMAN_TIMEOUT: 30 | ||
ENABLE_DJANGO_TOOLBAR: 1 | ||
|
||
license-manager-worker: | ||
image: edxops/license-manager-dev:latest | ||
command: bash -c 'cd /edx/app/license_manager/license_manager && celery -A license_manager worker -Q license_manager.default -l DEBUG' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.license-manager-worker" | ||
hostname: license-manager-worker.devstack.edx | ||
depends_on: | ||
- mysql80 | ||
environment: | ||
CELERY_ALWAYS_EAGER: 'false' | ||
CELERY_BROKER_TRANSPORT: redis | ||
CELERY_BROKER_HOSTNAME: edx.devstack.redis:6379 | ||
CELERY_BROKER_VHOST: 0 | ||
CELERY_BROKER_PASSWORD: password | ||
DJANGO_SETTINGS_MODULE: license_manager.settings.devstack | ||
COLUMNS: 80 | ||
ports: | ||
- "18171:18171" | ||
restart: always | ||
stdin_open: true | ||
tty: true | ||
|
||
bulk-enrollment-worker: | ||
image: edxops/license-manager-dev:latest | ||
command: bash -c 'cd /edx/app/license_manager/license_manager && celery -A license_manager worker -Q license_manager.bulk_enrollment -l DEBUG' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.license-manager.bulk-enrollment-worker" | ||
hostname: license-manager.bulk-enrollment-worker.devstack.edx | ||
depends_on: | ||
- mysql80 | ||
environment: | ||
CELERY_ALWAYS_EAGER: 'false' | ||
CELERY_BROKER_TRANSPORT: redis | ||
CELERY_BROKER_HOSTNAME: edx.devstack.redis:6379 | ||
CELERY_BROKER_VHOST: 0 | ||
CELERY_BROKER_PASSWORD: password | ||
DJANGO_SETTINGS_MODULE: license_manager.settings.devstack | ||
COLUMNS: 80 | ||
ports: | ||
- "18172:18172" | ||
restart: always | ||
stdin_open: true | ||
tty: true | ||
|
||
designer: | ||
image: edxops/designer-dev:latest # this image doesn't exist on dockerhub yet | ||
container_name: edx.devstack.designer | ||
|
@@ -733,6 +886,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-account' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-account" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/[email protected]' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -748,6 +903,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-profile' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-profile" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/brand-edx.org@~2.0.0' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -763,6 +920,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-authn' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-authn" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/[email protected]' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -778,6 +937,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-course-authoring' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-course-authoring" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/[email protected]' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -808,6 +969,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-ora-grading' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-ora-grading" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/[email protected]' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -823,6 +986,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-learner-dashboard' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-learner-dashboard" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/[email protected]' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -838,6 +1003,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-learner-record' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-learner-record" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/brand-edx.org@~2.0.0' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -853,6 +1020,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-learning' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-learning" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/[email protected]' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -868,6 +1037,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-library-authoring' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-library-authoring" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/[email protected]' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -884,6 +1055,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-payment' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-payment" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/brand-edx.org@^2.0.6' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -899,6 +1072,8 @@ services: | |
service: microfrontend | ||
working_dir: '/edx/app/frontend-app-program-console' | ||
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-program-console" | ||
environment: | ||
PARAGON_BRAND_PACKAGE: '@edx/[email protected]' | ||
networks: | ||
default: | ||
aliases: | ||
|
@@ -936,4 +1111,3 @@ volumes: | |
mysql57_data: | ||
mysql80_data: | ||
redis_data: | ||
designer_mysql: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.