forked from phenom/healer-man
Release Healer Man 0.1.46
This commit is contained in:
1 parent
f82daf1c13
commit
9ff574ac0b
73 files changed
+33486
-174
No files matched your search
@@ -162,6 +162,36 @@ new or changed content objects, builds the compact required-content browser
|
||||
bundle, and starts the combined static/API/content server. Existing content
|
||||
objects are reused.
|
||||
|
||||
### Optional GM Balance Lab server dependency
|
||||
|
||||
To run Balance Lab simulations on TrueNAS instead of the local workstation,
|
||||
the server container needs Python 3 in addition to the existing Node
|
||||
development dependencies. Replace the service command with:
|
||||
|
||||
```yaml
|
||||
command: >-
|
||||
sh -lc "apt-get update && apt-get install -y --no-install-recommends python3 && rm -rf /var/lib/apt/lists/* && npm ci --include=dev && npm run db:init && npm run content:publish && npm run build && npm start"
|
||||
```
|
||||
|
||||
Add or change these environment values:
|
||||
|
||||
```yaml
|
||||
BALANCE_LAB_PYTHON: "python3"
|
||||
BALANCE_LAB_MAX_CONCURRENT: "1"
|
||||
BALANCE_LAB_MAX_QUEUED: "8"
|
||||
```
|
||||
|
||||
The app stores job reports in
|
||||
`/app/runtime-data/balance-lab/jobs/<job-id>/`, so the existing persistent
|
||||
runtime-data mount also preserves generated reports and the GM app's run
|
||||
history across container/server restarts. Each directory includes `job.json`
|
||||
metadata used to rebuild the newest 100 history entries; do not exclude those
|
||||
files when migrating the runtime-data dataset. An interrupted queued/running
|
||||
job returns as failed after restart, while any job with a complete
|
||||
`suite-report.json` returns as complete. Keep concurrency at one
|
||||
unless the server has enough spare CPU for multiple full combat sweeps. All
|
||||
Balance Lab routes independently require a server-authorized GM account.
|
||||
|
||||
After startup, test on the LAN:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in new issue
Block a user