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:
commit
0fd00bfa37
120 files changed
+17094
No files matched your search
@@ -0,0 +1,38 @@
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
devtools: { enabled: false },
|
||||
css: ['~/assets/css/tailwind.css'],
|
||||
modules: ['shadcn-nuxt'],
|
||||
shadcn: {
|
||||
prefix: '',
|
||||
componentDir: './app/components/ui',
|
||||
},
|
||||
runtimeConfig: {
|
||||
sessionSecret: process.env.SESSION_SECRET || '',
|
||||
databaseUrl: process.env.DATABASE_URL || '',
|
||||
registryInternalUrl: process.env.REGISTRY_INTERNAL_URL || 'http://registry:5000',
|
||||
tokenKeyPath: process.env.TOKEN_KEY_PATH || '',
|
||||
tokenCertPath: process.env.TOKEN_CERT_PATH || '',
|
||||
public: {
|
||||
authPublicUrl: process.env.AUTH_PUBLIC_URL || 'http://localhost:3000',
|
||||
registryPort: process.env.REGISTRY_PORT || '5050',
|
||||
},
|
||||
},
|
||||
nitro: {
|
||||
esbuild: {
|
||||
options: {
|
||||
target: 'esnext',
|
||||
},
|
||||
},
|
||||
moduleSideEffects: ['better-sqlite3', '@prisma/adapter-better-sqlite3'],
|
||||
externals: {
|
||||
external: ['better-sqlite3', '@prisma/client', '@prisma/adapter-better-sqlite3'],
|
||||
},
|
||||
},
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user