Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-lmu committed Dec 31, 2024
1 parent 626cce5 commit 444712f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"name": "Axon Ivy Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
"dockerComposeFile": "docker-compose.yml",
"onCreateCommand": "mvn package --batch-mode -Dmaven.test.skip=true",
"service": "java",
"workspaceFolder": "/workspace/${localWorkspaceFolderBasename}",
"shutdownAction": "stopCompose",
"forwardPorts": [8080],
"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": "21",
"version": "none",
"installMaven": "true",
"jdkDistro": "tem"
},
"ghcr.io/axonivy/devcontainer-features/engine:1": {}
"installGradle": "false"
}
},
"customizations": {
"vscode": {
"extensions": ["axon-ivy.designer-11"],
"extensions": ["axon-ivy.designer-13"],
"settings": {
"engine.runByExtension": false,
"engine.url": "http://localhost:8080/",
"engine.directory": "/usr/lib/axonivy-engine"
"engine.url": "http://localhost:8080/"
}
}
}
Expand Down
15 changes: 15 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
services:
java:
image: mcr.microsoft.com/devcontainers/java:1-21-bookworm
volumes:
- ../..:/workspace:cached
network_mode: service:ivy
command: sleep infinity

ivy:
image: axonivy/axonivy-engine:12.0
restart: unless-stopped
ports:
- 8080:8080
volumes:
- ../..:/workspace:cached

0 comments on commit 444712f

Please sign in to comment.