From e0638c3eb79e85f444ca188f37d63b97289dad99 Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 22 Dec 2023 15:48:02 +0100 Subject: [PATCH] devcontainer: run engine in background (#507) --- .devcontainer/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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",