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

This commit is contained in:
Markus Kahl
2021-08-31 11:37:43 +01:00
parent 89dfac5599
commit 9f9ca73a7c
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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
+1 -1
View File
@@ -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"