Generated videos save into a chosen folder, sensitive clips skip thumbnails until played, and Docker writes the catalog to a Coolify volume. Co-authored-by: Cursor <cursoragent@cursor.com>
44 lines
1.7 KiB
TypeScript
44 lines
1.7 KiB
TypeScript
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-08-01',
|
|
modules: ['@nuxtjs/tailwindcss'],
|
|
css: ['~/assets/css/main.css'],
|
|
app: {
|
|
head: {
|
|
title: 'AIGen — MiniMax H3',
|
|
htmlAttrs: { lang: 'en', class: 'dark' },
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ name: 'theme-color', content: '#09090b' },
|
|
{ name: 'description', content: 'Headless MiniMax H3 image-to-video studio relayed to local ComfyUI.' }
|
|
],
|
|
link: [
|
|
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
|
|
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
|
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
|
|
{
|
|
rel: 'stylesheet',
|
|
href: 'https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap'
|
|
}
|
|
]
|
|
}
|
|
},
|
|
runtimeConfig: {
|
|
comfyHost: process.env.COMFY_HOST || '',
|
|
sessionSecret: process.env.NUXT_SESSION_SECRET || '',
|
|
oidcClientId: process.env.NUXT_OIDC_CLIENT_ID || '',
|
|
oidcClientSecret: process.env.NUXT_OIDC_CLIENT_SECRET || '',
|
|
oidcIssuer: process.env.NUXT_OIDC_ISSUER || '',
|
|
oidcAuthorizeUrl: process.env.NUXT_OIDC_AUTHORIZE_URL || '',
|
|
oidcTokenUrl: process.env.NUXT_OIDC_TOKEN_URL || '',
|
|
oidcUserinfoUrl: process.env.NUXT_OIDC_USERINFO_URL || '',
|
|
libraryDir: process.env.LIBRARY_DIR || (process.env.NODE_ENV === 'production' ? '/data/library' : '.data/library'),
|
|
public: {
|
|
authEnabled: process.env.NUXT_PUBLIC_AUTH_ENABLED === 'true'
|
|
}
|
|
},
|
|
nitro: {
|
|
preset: 'node-server'
|
|
}
|
|
})
|