diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3361204a6..88d8accfa 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,7 +7,8 @@ } }, "forwardPorts": [8080], - "postStartCommand": "/usr/lib/axonivy-engine/bin/AxonIvyEngine", + "containerEnv": { "JAVA_OPTS_IVY_SYSTEM": "-Ddev.mode=true -Divy.engine.testheadless=true" }, + "postStartCommand": "mkdir -p logs && rm -f logs/eninge-nohup.out && nohup bash -c '/usr/lib/axonivy-engine/bin/AxonIvyEngine &'> logs/engine-nohup.out", "features": { "ghcr.io/devcontainers/features/java:1": { "version": "17",