To install dependencies:
bun installTo run:
bun run index.tsThis project was created using bun init in bun v1.2.17. Bun is a fast all-in-one JavaScript runtime.
Copy .env.example to .env and set the required HOST_PORT value. APP_HOST and
APP_PORT control the container listener and have defaults in compose.yml.
docker compose up -d --build
docker compose logs -f
docker compose downPersistent input and settings live in ./data on the host, mounted at /data in the
container. For first-run setup, create data/input.txt using the input format below.
No migrations are required.
Back up by stopping the app if a consistent snapshot is needed, then copy ./data to
your backup location. Restore by stopping the app, replacing ./data with the backup,
and starting it again. Rebuilding or recreating the container does not delete data in
./data.
Copy .env.deploy.example to the ignored .env.deploy, set DEPLOY_HOST and
DEPLOY_PATH, then run:
bun run deploySet DEPLOY_HEALTH_URL if the deployment should also verify a server-local URL.