Appearance
Configuration ​
Environment variables are read from .env and exposed via nuxt.config.js (env and publicRuntimeConfig). Do not commit secrets; use placeholders or a secure secret store in production.
publicRuntimeConfig ​
Available as $config or context.$config in the app.
| Variable | Description |
|---|---|
| appName | Application display name (APP_NAME) |
| baseUrl | Frontend base URL (BASE_URL) |
| apiBaseUrl | Backend API base URL (API_BASE_URL) |
| backendUrl | Backend URL (BACKEND_URL or BACKAND_URL) |
| damBaseUrl | DAM frontend URL (DAM_FRONTEND_URL) |
| userPlaceHolderImg | Placeholder image URL for users (USER_PLACEHOLDER_IMG) |
| googleAuthUrl | Google OAuth URL (GOOGLE_AUTH_URL) |
| LIMIT_WORKSPACE_ID | Optional workspace ID limit (LIMIT_WORKSPACE_ID) |
| APP_ENV | Environment name (APP_ENV) |
| CNAME | CNAME / domain (CNAME) |
env ​
Exposed as process.env.* in build and at runtime where Nuxt injects them.
| Variable | Description |
|---|---|
| INSIGHTS_ACCESS_PERSONS | Insights access config |
| BASE_URL | Frontend base URL |
| API_BASE_URL | Backend API base URL |
| DAM_FRONTEND_URL | DAM frontend URL |
| GOOGLE_DRIVE_CLIENT_ID | Google Drive OAuth client ID |
| GOOLGE_DRIVE_CLIENT_SECRET | Google Drive OAuth client secret (note typo in name) |
| REDIRECT_URI | OAuth redirect URI |
| DROPBOX_OAUTH_URI | Dropbox OAuth URI |
| DROPBOX_AUTH_VERIFICATION_URI | Dropbox verification URI |
| DROPBOX_APP_ID | Dropbox app ID |
| DROPBOX_APP_SECRET | Dropbox app secret |
| DROPBOX_AUTH_REDIRECT | Dropbox redirect URI |
| MOBILE_APP_DOMAIN | Mobile app domain (e.g. for apple-itunes-app meta) |
| DAM_UPLOAD_AUTOTAG_ENABLED | Enable auto-tagging on DAM upload |
| SUPPORT_BASE_URL | Support portal URL |
| IS_SUPPORT_PLATFORM | Whether running as support platform (affects login/logout endpoints) |
| BACKAND_URL | Backend URL (fallback) |
| STRIPE_PUBLISHABLE_KEY | Stripe publishable key |
| STRIPE_CHECKOUT_MODE | Stripe checkout mode (e.g. prebuilt) |
| STRIPE_WEBHOOK_SECRET | Stripe webhook secret |
| STRIPE_WEBHOOK_ENDPOINT | Stripe webhook endpoint path |
| APP_ENV | Environment |
| TYPESENSE_HOST | Typesense host |
| TYPESENSE_PORT | Typesense port |
| TYPESENSE_PROTOCOL | Typesense protocol (http/https) |
| TYPESENSE_API_KEY | Typesense API key |
| TYPESENSE_CONNECTION_TIMEOUT | Typesense connection timeout |
| ZIP_DOWNLOAD_URL | URL for zip download worker |
| EXTERNAL_UPLOAD_LIMIT | Limit for external uploads |
| G_PLACES_API_KEY | Google Places API key (head script) |
| PORT | Dev server port |
| HTTPS | Set to 'true' for Axios HTTPS |
| SECURE_AUTH_COOKIE | Set to 'true' for secure auth cookie |
| PUSHER_KEY | Pusher key (Laravel Echo) |
| PUSHER_CLUSTER | Pusher cluster |
| PUSHER_AUTH_ENDPOINT | Pusher auth endpoint |
Auth (nuxt.config) ​
- redirect: login and logout redirect to
/. - cookie.options: path
/, expires 365, secure whenSECURE_AUTH_COOKIE === 'true'. - local strategy: token from
data.access_token, user fromdata.user; login URL issupport-loginwhenIS_SUPPORT_PLATFORM === 'true', elselogin; logout URL isterminate-tokenwhen support, elselogout. - external strategy: scheme
~/schemes/external; tokendata.token, Bearer, maxAge 24h; user fromdata, autoFetch; endpoints as in nuxt.config.