Skip to content

Commit

Permalink
chore: updated docker-compose to use image
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalQamar95 committed Oct 31, 2024
1 parent e47dd99 commit 54198d4
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/docker-compose-github.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 54198d4

Please sign in to comment.