Add StartOS 0.4 package scaffold (manifest, main, interfaces, 2 actions)
- package/Makefile + s9pk.mk + package.json + tsconfig.json - startos/manifest: dockerBuild source pointing at ../image/Dockerfile - startos/main: reads /data/config.yaml reactively, passes env vars to container - startos/interfaces: binds port 9999 as HTTP UI - startos/actions: showPublicKey (read /data/ssh/id_ed25519.pub), configureSparks - TS + JS bundle compile clean (tsc --noEmit, ncc build)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
import { setupManifest } from '@start9labs/start-sdk'
|
||||
import { long, short } from './i18n'
|
||||
|
||||
export const manifest = setupManifest({
|
||||
id: 'spark-control',
|
||||
title: 'Spark Control',
|
||||
license: 'MIT',
|
||||
packageRepo: 'https://github.com/grant/spark-control',
|
||||
upstreamRepo: 'https://github.com/grant/spark-control',
|
||||
marketingUrl: 'https://github.com/grant/spark-control',
|
||||
donationUrl: 'https://github.com/grant/spark-control',
|
||||
docsUrls: [],
|
||||
description: { short, long },
|
||||
volumes: ['main'],
|
||||
images: {
|
||||
'spark-control': {
|
||||
source: {
|
||||
dockerBuild: {
|
||||
dockerfile: '../image/Dockerfile',
|
||||
workdir: '..',
|
||||
},
|
||||
},
|
||||
arch: ['x86_64', 'aarch64'],
|
||||
},
|
||||
},
|
||||
alerts: {
|
||||
install: null,
|
||||
update: null,
|
||||
uninstall: null,
|
||||
restore: null,
|
||||
start: null,
|
||||
stop: null,
|
||||
},
|
||||
dependencies: {},
|
||||
})
|
||||
Reference in New Issue
Block a user