import { setupManifest } from '@start9labs/start-sdk'
import { alertUpdate, long, short } from './i18n'

export const manifest = setupManifest({
  id: 'ten-database',
  title: 'Ten31 Database',
  license: 'MIT',
  packageRepo: 'https://github.com/ten31/ten31-database-startos',
  upstreamRepo: 'https://github.com/ten31/ten31-database',
  marketingUrl: 'https://ten31.vc',
  donationUrl: null,
  docsUrls: ['https://docs.start9.com/packaging/0.4.0.x/'],
  description: { short, long },
  volumes: ['main'],
  images: {
    main: {
      source: {
        dockerBuild: {
          dockerfile: './Dockerfile',
          workdir: '../..',
        },
      },
      arch: ['x86_64', 'aarch64'],
    },
  },
  alerts: {
    install: null,
    update: alertUpdate,
    uninstall: null,
    restore: null,
    start: null,
    stop: null,
  },
  dependencies: {},
})
