v0.1.0:24 — Keysat licensing service end-to-end
Daemon, StartOS wrapper, admin SPA, public buy/thank-you pages, discount codes, free-license redemption, Apply-discount UX, self-licensing, and v0.1.0 release notes.
This commit is contained in:
+29
-22
@@ -1,9 +1,12 @@
|
||||
// StartOS package manifest. Run through `setupManifest()` from the SDK.
|
||||
//
|
||||
// NOTE: This service's source code is source-available but not open source
|
||||
// (see ../../../licensing-service/LICENSE). The `license` field here is
|
||||
// set to 'Proprietary' accordingly — StartOS displays this on the install
|
||||
// page so users know what they're installing.
|
||||
// NOTE: This service's source code is source-available but not open source.
|
||||
// The `license` field takes an SPDX identifier, and the actual license text
|
||||
// must live in a file named `LICENSE` at the package root (start-cli bundles
|
||||
// it as an ingredient). Since this project ships under a custom license, we
|
||||
// use the SPDX `LicenseRef-` prefix per the SPDX spec for non-standard
|
||||
// licenses. The `LICENSE` file at the package root is a copy of
|
||||
// `../licensing-service/LICENSE`.
|
||||
|
||||
import { setupManifest } from '@start9labs/start-sdk'
|
||||
import { short, long } from './i18n'
|
||||
@@ -11,14 +14,14 @@ import { short, long } from './i18n'
|
||||
export const manifest = setupManifest({
|
||||
id: 'keysat',
|
||||
title: 'Keysat',
|
||||
license: 'Proprietary',
|
||||
packageRepo: 'https://github.com/ten31/keysat-startos',
|
||||
upstreamRepo: 'https://github.com/ten31/keysat',
|
||||
marketingUrl: 'https://ten31.xyz/keysat',
|
||||
license: 'LicenseRef-Proprietary',
|
||||
packageRepo: 'https://github.com/keysat-xyz/keysat-startos',
|
||||
upstreamRepo: 'https://github.com/keysat-xyz/keysat',
|
||||
marketingUrl: 'https://keysat.xyz',
|
||||
donationUrl: null,
|
||||
docsUrls: [
|
||||
'https://github.com/ten31/keysat/blob/main/README.md',
|
||||
'https://github.com/ten31/keysat/blob/main/docs/INTEGRATION.md',
|
||||
'https://github.com/keysat-xyz/keysat/blob/main/README.md',
|
||||
'https://github.com/keysat-xyz/keysat/blob/main/docs/INTEGRATION.md',
|
||||
],
|
||||
description: { short, long },
|
||||
// A single data volume holds the SQLite database (which in turn holds the
|
||||
@@ -26,15 +29,14 @@ export const manifest = setupManifest({
|
||||
volumes: ['main'],
|
||||
images: {
|
||||
main: {
|
||||
// Built from the project's Dockerfile. The build context is the parent
|
||||
// `Licensing/` directory so the Dockerfile can COPY from the sibling
|
||||
// `licensing-service/` Rust source; a top-level .dockerignore keeps the
|
||||
// uploaded context small.
|
||||
// Built from the project's Dockerfile. Build context is this package
|
||||
// directory itself (the start-cli default). The Rust source is
|
||||
// exposed inside the package dir as `licensing-service/`, which is
|
||||
// a symlink to the sibling `../licensing-service/` repo so the
|
||||
// upstream sources stay in their natural location while the build
|
||||
// context stays self-contained.
|
||||
source: {
|
||||
dockerBuild: {
|
||||
workdir: '..',
|
||||
dockerfile: 'licensing-service-startos/Dockerfile',
|
||||
},
|
||||
dockerBuild: {},
|
||||
},
|
||||
arch: ['x86_64', 'aarch64'],
|
||||
},
|
||||
@@ -53,12 +55,17 @@ export const manifest = setupManifest({
|
||||
stop: null,
|
||||
},
|
||||
dependencies: {
|
||||
// DepInfo = { description, optional } & ({ metadata: {title, icon} } | { s9pk })
|
||||
// We use the s9pk form with `null` since we don't want to bundle a copy of
|
||||
// BTCPay's s9pk into our package just to extract its metadata at build time
|
||||
// — StartOS will pull the metadata from the installed instance at runtime.
|
||||
btcpayserver: {
|
||||
description: 'Required to receive Bitcoin payments and confirm settlement via webhook.',
|
||||
optional: false,
|
||||
metadata: {
|
||||
title: 'BTCPay Server',
|
||||
description: {
|
||||
en_US:
|
||||
'Required to receive Bitcoin payments and confirm settlement via webhook.',
|
||||
},
|
||||
optional: false,
|
||||
s9pk: null,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user