Fix running ng serve on docker stack

This commit is contained in:
Jan Sandbrink
2025-07-24 08:12:32 +02:00
committed by Oliver Günther
parent 3b9838508c
commit ce9e17bbb1
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ services:
frontend:
build:
<<: *frontend-build
command: "node --max_old_space_size=8096 ./node_modules/@angular/cli/bin/ng serve --host 0.0.0.0 --allowed-hosts openproject-assets.local"
command: "node --max_old_space_size=8096 ./node_modules/@angular/cli/bin/ng serve --host 0.0.0.0"
volumes:
- ".:/home/dev/openproject"
- "${CKEDITOR_BUILD_DIR:-./frontend/src/vendor/ckeditor/}:/home/dev/openproject/frontend/src/vendor/ckeditor/"
+1
View File
@@ -114,6 +114,7 @@
"development": {
"buildTarget": "OpenProject:build:development",
"proxyConfig": "src/proxy.conf.mjs",
"allowedHosts": ["openproject-assets.local"],
"headers": {
"Access-Control-Allow-Origin": "*"
}