fix docker frontend: parameterize ckeditor build dir, use working default

pull/9627/head
Markus Kahl 3 years ago
parent 89dfac5599
commit 9f9ca73a7c
  1. 4
      .env.example
  2. 2
      docker-compose.yml

@ -33,6 +33,10 @@
# This is used to prevent people from using the new docker-compose file for automated installs
LOCAL_DEV_CHECK=1
# Set this to your ckeditor build output directory (which includes ckeditor.js) if you
# want to develop ckeditor locally.
CKEDITOR_BUILD_DIR=frontend/src/vendor/ckeditor/
# This is the host from which you will be accessing the development servers locally
PUBLIC_HOST=localhost

@ -77,7 +77,7 @@ services:
command: "npm run serve"
volumes:
- ".:/home/dev/openproject"
- "../commonmark-ckeditor-augmented-textarea-build/build/:/home/dev/openproject/frontend/src/vendor/ckeditor-augmented-textarea/"
- "${CKEDITOR_BUILD_DIR:-./frontend/src/vendor/ckeditor/}:/home/dev/openproject/frontend/src/vendor/ckeditor/"
ports:
- "4200:4200"
- "9999:9999"

Loading…
Cancel
Save