# ───────────────────────────────────────────────────────────────────────────── # MelodyMuse — server environment # # The Node server (`server.mjs`) reads these from `process.env`. Pass them in # however you run the server: # # • Bare-metal: LLM_ENDPOINT=… LLM_API_KEY=… node server.mjs # • Docker: -e LLM_ENDPOINT=… -e LLM_API_KEY=… # • docker-compose: put them in a `.env` file next to compose.yml # • Jannik-Cloud: AGE-encrypted `.env` generated by `generate-env.sh` # # `LLM_ENDPOINT` and `LLM_API_KEY` are required — the server refuses to start # without them. The rest have sensible defaults. # ───────────────────────────────────────────────────────────────────────────── # OpenAI-compatible base URL, e.g. https://api.minimax.chat/v1 LLM_ENDPOINT=https://api.minimax.chat/v1 # Your provider's secret key LLM_API_KEY= # Model name (default: MiniMax-M3) LLM_MODEL=MiniMax-M3 # Listen port (default: 3000) PORT=3000 # CORS origin. "*" allows any origin (fine for a single-user personal app). # Set to a specific origin like "https://melodymuse.orfel.de" to lock it down. CORS_ORIGIN=* # ───────────────────────────────────────────────────────────────────────────── # Vite dev environment (only used by `npm run dev`, not by the server) # ───────────────────────────────────────────────────────────────────────────── # Leave empty to use the dev proxy (see vite.config.ts). Set this if you want # the browser to talk to a server on a different origin. # VITE_API_BASE_URL=http://localhost:3000