Skip to content

Commit

Permalink
chore: use service definition for overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Mar 20, 2024
1 parent c5a9dc7 commit 313fc9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions tutoraspects/patches/local-docker-compose-dev-services
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,9 @@ clickhouse:

{% if ASPECTS_ENABLE_EVENT_BUS_CONSUMER %}
aspects-consumer:
image: {{ DOCKER_IMAGE_OPENEDX_DEV }}
stdin_open: true
tty: true
volumes:
# Settings & config
- ../apps/openedx/settings/lms:/openedx/edx-platform/lms/envs/tutor:ro
- ../apps/openedx/settings/cms:/openedx/edx-platform/cms/envs/tutor:ro
- ../apps/openedx/config:/openedx/config:ro
<<: *openedx-service
environment:
DJANGO_SETTINGS_MODULE: lms.envs.tutor.development
DJANGO_SETTINGS_MODULE: lms.envs.tutor.development
command: |
./manage.py lms consume_events -t analytics -g event_routing_backends --extra '{"consumer_name": "aspects"}'
{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
pip install "edx-event-routing-backends==v8.1.1"
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
pip install "event-tracking>=2.3.0",
pip install "event-tracking>=2.3.0"

0 comments on commit 313fc9c

Please sign in to comment.