From 9b9cf6c56f6ec50000cf9081fa0ff5f6656c3982 Mon Sep 17 00:00:00 2001 From: acknologia <64101826+acknologia@users.noreply.github.com> Date: Sun, 4 Oct 2026 22:08:23 -0400 Subject: [PATCH 1/2] crafty4 install script --- crafty4.json | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 crafty4.json diff --git a/crafty4.json b/crafty4.json new file mode 100644 index 0000000..878c95d --- /dev/null +++ b/crafty4.json @@ -0,0 +1,46 @@ +{ + "version": 5, + "script": { + "version": "1.0.0", + "changeLog": "Initial" + }, + "requirements": { + "locations": ["ApplicationsPerformance, ApplicationsCapacity"], + "specifications": ["2CORE", "4GBRAM"], + "permissions": ["READ_WRITE_LOCATIONS"], + "ports": [8443] + }, + "ensure_directories_exists": [ + { + "path": "$LOCATION(ApplicationsPerformance)", + "network_share": true + }, + { "path": "$LOCATION(ApplicationsCapacity)/crafty-4/backups", "owner": { "user": "apps" }, "snapshot": { "id": "backups" } }, + { "path": "$LOCATION(ApplicationsPerformance)/crafty-4/config", "owner": { "user": "apps" }, "snapshot": { "id": "config" } }, + { "path": "$LOCATION(ApplicationsPerformance)/crafty-4/import", "owner": { "user": "apps" }, "snapshot": { "id": "data" } }, + { "path": "$LOCATION(ApplicationsPerformance)/crafty-4/logs", "owner": { "user": "apps" }, "snapshot": { "id": "logs" } }, + { "path": "$LOCATION(ApplicationsCapacity)/crafty-4/servers", "owner": { "user": "apps" }, "snapshot": { "id": "data" } } + ], + "app_values": { + "crafty": { + "additional_envs": [] + }, + "labels": [], + "network": { + "host_network": true + }, + "storage": { + "backups": "$HOST_PATH($LOCATION(ApplicationsCapacity)/crafty-4/data)", + "config": "$HOST_PATH($LOCATION(ApplicationsPerformance)/crafty-4/config)", + "import": "$HOST_PATH($LOCATION(ApplicationsPerformance)/crafty-4/import)", + "logs": "$HOST_PATH($LOCATION(ApplicationsPerformance)/crafty-4/logs)", + "servers": "$HOST_PATH($LOCATION(ApplicationsCapacity/crafty-4/servers)" + }, + "resources": { + "limits": { + "cpus": 2, + "memory": 4096 + } + } + } +} \ No newline at end of file From 1533ae82c4848e9418b3a63e330d4ea54903930d Mon Sep 17 00:00:00 2001 From: Mobius <64101826+MobiusGT@users.noreply.github.com> Date: Mon, 12 Oct 2026 15:27:41 -0400 Subject: [PATCH 2/2] Update backup path in crafty4.json updated with neiph's fixes --- crafty4.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crafty4.json b/crafty4.json index 878c95d..cec343f 100644 --- a/crafty4.json +++ b/crafty4.json @@ -30,11 +30,11 @@ "host_network": true }, "storage": { - "backups": "$HOST_PATH($LOCATION(ApplicationsCapacity)/crafty-4/data)", + "backups": "$HOST_PATH($LOCATION(ApplicationsCapacity)/crafty-4/backups)", "config": "$HOST_PATH($LOCATION(ApplicationsPerformance)/crafty-4/config)", "import": "$HOST_PATH($LOCATION(ApplicationsPerformance)/crafty-4/import)", "logs": "$HOST_PATH($LOCATION(ApplicationsPerformance)/crafty-4/logs)", - "servers": "$HOST_PATH($LOCATION(ApplicationsCapacity/crafty-4/servers)" + "servers": "$HOST_PATH($LOCATION(ApplicationsCapacity)/crafty-4/servers)" }, "resources": { "limits": { @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +}