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

pull/9634/head
Markus Kahl 3 years ago
parent 50ffff7b6a
commit 263b9c06f8
  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

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

Loading…
Cancel
Save