mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-16 18:15:09 +00:00
d19bd53b2b
The static assets need to be properly collected in the development image in order to have a working webpack-stats.json file. The /openedx/staticfiles folder is still bind-mounted in the docker image in order to have a working `watchthemes` command. This is for issue #235, again.
28 lines
678 B
YAML
28 lines
678 B
YAML
version: "3"
|
|
|
|
services:
|
|
x-openedx-service:
|
|
&openedx-service
|
|
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX_DEV }}
|
|
volumes:
|
|
# theme files
|
|
- ../build/openedx/themes:/openedx/themes
|
|
# editable requirements
|
|
- ../build/openedx/requirements:/openedx/requirements
|
|
|
|
lms:
|
|
<<: *openedx-service
|
|
cms:
|
|
<<: *openedx-service
|
|
lms_worker:
|
|
<<: *openedx-service
|
|
cms_worker:
|
|
<<: *openedx-service
|
|
|
|
# Additional service for watching theme changes
|
|
watchthemes:
|
|
<<: *openedx-service
|
|
command: openedx-assets watch-themes --env dev
|
|
restart: unless-stopped
|
|
|
|
{{ patch("local-docker-compose-dev-services")|indent(2) }} |