From 54198d44289df6984add9ff2e59af822443d294f Mon Sep 17 00:00:00 2001 From: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com> Date: Thu, 31 Oct 2024 18:09:50 +0500 Subject: [PATCH] chore: updated docker-compose to use image --- .github/docker-compose-github.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/docker-compose-github.yml b/.github/docker-compose-github.yml index 88496643d..e6a045f78 100644 --- a/.github/docker-compose-github.yml +++ b/.github/docker-compose-github.yml @@ -3,6 +3,7 @@ version: "2.1" services: es: image: elasticsearch:1.5.2 + analyticsapi: image: edxops/analytics_api:${DATA_API_VERSION:-latest} container_name: analytics_api @@ -11,22 +12,15 @@ services: ELASTICSEARCH_LEARNERS_INDEX: 'learner' ELASTICSEARCH_LEARNERS_UPDATE_INDEX: 'index_update' command: /edx/app/analytics_api/venvs/analytics_api/bin/python /edx/app/analytics_api/analytics_api/manage.py runserver 0.0.0.0:80 --settings analyticsdataserver.settings.local + insights: - # Use this image once the Python version upgrade is complete - # image: edxops/insights:latest - build: - context: ../. - target: dev - args: - PYTHON_VERSION: "${PYTHON_VERSION}" + image: edxops/edx-analytics-dashboard-dev container_name: insights_testing volumes: - ..:/edx/app/insights/edx_analytics_dashboard command: tail -f /dev/null environment: - # Pull these from the host environment. DATADOG_API_KEY: - # Rest of the environment variables for testing. API_SERVER_URL: http://analyticsapi/api/v0 API_AUTH_TOKEN: edx LMS_HOSTNAME: lms