Address review: drop unused /data mount, document key in backups
- The proxy is stateless and env-configured; the 'main' volume is no longer mounted into the container (config.json is read host-side) - README/instructions note that backups contain the saved API key - Upstream tagged v0.3.2 (matches package.json); submodule checked out at the tag Verified on the StartOS 0.4.0 VM: update installs over the previous version, keeps the saved key, and reports attestation-verified health. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
827fcb1ea8
commit
b2659a7082
3 files changed
+15
-10
No files matched your search
+4
-6
@@ -11,15 +11,13 @@ export const main = sdk.setupMain(async ({ effects }) => {
|
||||
const debug = await configJson.read((c) => c.debug).const(effects)
|
||||
|
||||
return sdk.Daemons.of(effects).addDaemon('proxy', {
|
||||
// The proxy is stateless and fully configured via env — the 'main' volume
|
||||
// (config.json, read host-side by the SDK) is never mounted into the
|
||||
// container.
|
||||
subcontainer: sdk.SubContainer.of(
|
||||
effects,
|
||||
{ imageId: 'proxy' },
|
||||
sdk.Mounts.of().mountVolume({
|
||||
volumeId: 'main',
|
||||
subpath: null,
|
||||
mountpoint: '/data',
|
||||
readonly: false,
|
||||
}),
|
||||
sdk.Mounts.of(),
|
||||
'proxy-sub',
|
||||
),
|
||||
exec: {
|
||||
|
||||
Reference in new issue
Block a user