@basaltkit/deploy 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/infra.js +6 -1
  2. package/package.json +1 -1
package/dist/infra.js CHANGED
@@ -222,7 +222,12 @@ export function renderCompose(app, infra, plan) {
222
222
  // beyond the container's loopback: the others have no authentication,
223
223
  // and `runtime.attach` puts this container on the app's networks.
224
224
  // Iceberg and Lance are extra listeners nothing here uses.
225
- " command: ['server', '-dir=/data', '-s3', '-s3.port=8333', '-ip=127.0.0.1', '-ip.bind=127.0.0.1', '-s3.ip.bind=0.0.0.0', '-s3.port.iceberg=0', '-s3.port.lance=0']", ` ports: ['127.0.0.1:${service.port}:8333']`, ' environment:', ' AWS_ACCESS_KEY_ID: ${BASALT_S3_ACCESS_KEY:?missing}', ' AWS_SECRET_ACCESS_KEY: ${BASALT_S3_SECRET_KEY:?missing}', ' WEED_JWT_FILER_SIGNING_KEY: ${BASALT_S3_SIGNING_KEY:?missing}', ` volumes: ['${key}:/data']`, ' healthcheck:',
225
+ // Volumes: each bucket gets its own, seven at a time, and by default
226
+ // SeaweedFS allows (free disk / 30 GB) of them — on a server with less
227
+ // than ~60 GB free the second bucket had none and every write was a
228
+ // 500 (`No writable volumes and no free volumes left`). 1 GB volumes
229
+ // and an explicit count; a volume takes no disk until it holds data.
230
+ " command: ['server', '-dir=/data', '-s3', '-s3.port=8333', '-ip=127.0.0.1', '-ip.bind=127.0.0.1', '-s3.ip.bind=0.0.0.0', '-s3.port.iceberg=0', '-s3.port.lance=0', '-master.volumeSizeLimitMB=1024', '-volume.max=1000']", ` ports: ['127.0.0.1:${service.port}:8333']`, ' environment:', ' AWS_ACCESS_KEY_ID: ${BASALT_S3_ACCESS_KEY:?missing}', ' AWS_SECRET_ACCESS_KEY: ${BASALT_S3_SECRET_KEY:?missing}', ' WEED_JWT_FILER_SIGNING_KEY: ${BASALT_S3_SIGNING_KEY:?missing}', ` volumes: ['${key}:/data']`, ' healthcheck:',
226
231
  // `/healthz` answers before the volume server has joined: reads fail
227
232
  // for a few seconds more. Healthy = a data node registered too.
228
233
  ` test: ['CMD-SHELL', 'wget -q -O /dev/null http://127.0.0.1:8333/healthz && wget -q -O- http://127.0.0.1:9333/dir/status | grep -q Url']`, ' interval: 10s', ' timeout: 5s', ' retries: 12', ' start_period: 30s');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basaltkit/deploy",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "engines": {
5
5
  "node": ">=22.5.0"
6
6
  },