mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:21:08 +02:00
- Move from apps-archived/ to apps/ - Delete NestJS backend, PocketBase, old scripts and docs - Create Hono/Bun redirect server (click tracking, analytics API) - Create @manacore/uload-database shared Drizzle schema package - Add local-first store (Dexie.js) for links, tags, folders - Rewrite Links and Tags pages to use IndexedDB - Simplify hooks, layouts, remove all server-side data loading - Add dev scripts: dev:uload:web, dev:uload:server, dev:uload:local Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
1 KiB
Text
36 lines
1 KiB
Text
# SvelteKit Configuration
|
|
PORT=3000
|
|
ORIGIN=https://your-domain.com
|
|
NODE_ENV=production
|
|
PUBLIC_APP_URL=https://ulo.ad
|
|
|
|
# Database (PostgreSQL)
|
|
# Development: Use local Docker container
|
|
DATABASE_URL=postgresql://uload:uload_dev_password_123@localhost:5432/uload_dev
|
|
# Production: Use your Coolify/Hetzner PostgreSQL container
|
|
# DATABASE_URL=postgresql://uload:your_password@uload-db-prod:5432/uload_prod
|
|
|
|
# File Storage (Cloudflare R2)
|
|
R2_ACCOUNT_ID=your_cloudflare_account_id
|
|
R2_ACCESS_KEY_ID=your_r2_access_key
|
|
R2_SECRET_ACCESS_KEY=your_r2_secret_key
|
|
R2_BUCKET_AVATARS=uload-avatars
|
|
R2_BUCKET_QR=uload-qr-codes
|
|
R2_PUBLIC_URL=https://files.ulo.ad
|
|
|
|
# Email (Resend)
|
|
RESEND_API_KEY=re_your_resend_api_key
|
|
RESEND_FROM_EMAIL=noreply@ulo.ad
|
|
|
|
# Umami Analytics (optional)
|
|
PUBLIC_UMAMI_URL=https://your-umami-instance.com
|
|
PUBLIC_UMAMI_WEBSITE_ID=your-website-id
|
|
|
|
# External Auth (to be implemented)
|
|
# AUTH_PROVIDER_CLIENT_ID=
|
|
# AUTH_PROVIDER_CLIENT_SECRET=
|
|
|
|
# Coolify specific (if needed)
|
|
# These will be set automatically by Coolify
|
|
# COOLIFY_URL=
|
|
# COOLIFY_TOKEN=
|