72bf754baa
- Move models.yaml into image/ so the docker build context is self-contained - Fix manifest: dockerfile=../image/Dockerfile, workdir=../image - Add LICENSE (MIT) and assets/README.md (StartOS marketplace listing) - s9pk validates: id=spark-control, version=0.1.0:0, osVersion=0.4.0-beta.6, sdkVersion=1.3.3 - Image embeds python:3.12-slim + openssh-client + FastAPI app + models.yaml
36 lines
865 B
TypeScript
36 lines
865 B
TypeScript
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: '../image',
|
|
},
|
|
},
|
|
arch: ['x86_64', 'aarch64'],
|
|
},
|
|
},
|
|
alerts: {
|
|
install: null,
|
|
update: null,
|
|
uninstall: null,
|
|
restore: null,
|
|
start: null,
|
|
stop: null,
|
|
},
|
|
dependencies: {},
|
|
})
|