@@ -693,6 +693,82 @@ services:
693693 aliases :
694694 - edx.devstack.xqueue_consumer
695695
696+ enterprise-catalog :
697+ image : edxops/enterprise-catalog-dev
698+ container_name : edx.devstack.enterprise-catalog
699+ hostname : enterprise-catalog.devstack.edx
700+ command : bash -c 'while true; do python /edx/app/enterprise_catalog/enterprise_catalog/manage.py runserver 0.0.0.0:18160; sleep 2; done'
701+ ports :
702+ - " 18160:18160"
703+ depends_on :
704+ - memcached
705+ - mysql80
706+ - enterprise-catalog-worker
707+ networks :
708+ default :
709+ aliases :
710+ - edx.devstack.enterprise-catalog
711+ # Allows attachment to this container using 'docker attach <containerID>'.
712+ stdin_open : true
713+ tty : true
714+ environment :
715+ CELERY_ALWAYS_EAGER : ' false'
716+ CELERY_BROKER_TRANSPORT : redis
717+ CELERY_BROKER_HOSTNAME : edx.devstack.redis:6379
718+ CELERY_BROKER_VHOST : 0
719+ CELERY_BROKER_PASSWORD : password
720+ DJANGO_SETTINGS_MODULE : enterprise_catalog.settings.devstack
721+ ENABLE_DJANGO_TOOLBAR : 1
722+ DB_HOST : edx.devstack.mysql80
723+ DB_NAME : enterprise_catalog
724+ DB_PORT : 3306
725+ DB_USER : catalog001
726+ DB_PASSWORD : ' password'
727+
728+ enterprise-catalog-worker :
729+ image : edxops/enterprise-catalog-dev
730+ command : bash -c 'cd /edx/app/enterprise_catalog/enterprise_catalog && celery -A enterprise_catalog worker -Q enterprise_catalog.default -l DEBUG'
731+ container_name : edx.devstack.enterprise.catalog.worker
732+ depends_on :
733+ - mysql80
734+ environment :
735+ CELERY_ALWAYS_EAGER : ' false'
736+ CELERY_BROKER_TRANSPORT : redis
737+ CELERY_BROKER_HOSTNAME : edx.devstack.redis:6379
738+ CELERY_BROKER_VHOST : 0
739+ CELERY_BROKER_PASSWORD : password
740+ DJANGO_SETTINGS_MODULE : enterprise_catalog.settings.devstack
741+ COLUMNS : 80
742+ hostname : worker.catalog.enterprise
743+ ports :
744+ - " 18161:18161"
745+ restart : always
746+ # Allows attachment to this container using 'docker attach <containerID>'.
747+ stdin_open : true
748+ tty : true
749+
750+ enterprise-catalog-curations_worker :
751+ image : edxops/enterprise-catalog-dev
752+ command : bash -c 'cd /edx/app/enterprise_catalog/enterprise_catalog && celery -A enterprise_catalog worker -Q enterprise_catalog.curations -l DEBUG'
753+ container_name : enterprise.catalog.curations
754+ depends_on :
755+ - mysql80
756+ environment :
757+ CELERY_ALWAYS_EAGER : ' false'
758+ CELERY_BROKER_TRANSPORT : redis
759+ CELERY_BROKER_HOSTNAME : edx.devstack.redis:6379
760+ CELERY_BROKER_VHOST : 0
761+ CELERY_BROKER_PASSWORD : password
762+ DJANGO_SETTINGS_MODULE : enterprise_catalog.settings.devstack
763+ COLUMNS : 80
764+ hostname : curations.catalog.enterprise
765+ ports :
766+ - " 18162:18162"
767+ restart : always
768+ # Allows attachment to this container using 'docker attach <containerID>'.
769+ stdin_open : true
770+ tty : true
771+
696772 # ==========================================================================
697773 # edX Microfrontends
698774 #
@@ -910,3 +986,4 @@ volumes:
910986 mysql57_data :
911987 mysql80_data :
912988 redis_data :
989+ enterprise_catalog_mysql8 :
0 commit comments