Add Docker Registry AIO with Nuxt Token Auth and admin UI.

Compose brings up registry:3 plus a Prisma/SQLite Nuxt app for docker login, ACL management, and image browsing with shadcn-vue.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ysj7705andCursor committed 2026-07-30 16:12:12 +09:00
commit 0fd00bfa37
120 files changed
+17094

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import { ensureTokenCerts } from './certs'
import { prisma } from './prisma'
import { seedAdmin } from '../../prisma/seed'
let ready: Promise<void> | null = null
async function bootstrap() {
ensureTokenCerts()
await prisma.$connect()
await seedAdmin(prisma)
}
export async function ensureBootstrap() {
if (!ready) {
ready = bootstrap().catch((err) => {
console.error('[bootstrap] failed', err)
ready = null
throw err
})
}
await ready
}