Full Go backend + Vue 3 frontend, OpenAI-compatible API, multi-provider account pools, billing/admin, Docker one-command deploy with auto HTTPS. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
21 lines
644 B
Bash
21 lines
644 B
Bash
# Vivid AI backend config template. Copy to .env and fill in real values.
|
|
# Real environment variables override .env.
|
|
|
|
APP_ENV=development
|
|
APP_TITLE=Vivid AI
|
|
HTTP_ADDR=:6666
|
|
|
|
# PostgreSQL (database must already exist; tables auto-migrate on boot)
|
|
POSTGRES_DSN=host=127.0.0.1 user=postgres password=YOUR_PASSWORD dbname=vivid_ai port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
|
|
|
# Redis
|
|
REDIS_ADDR=127.0.0.1:6379
|
|
REDIS_PASSWORD=
|
|
REDIS_DB=0
|
|
|
|
# Frontend dev origins allowed for CORS
|
|
CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
|
|
|
|
# Optional: override generated media root (defaults to ../../ai-gateway/data/generated)
|
|
# GENERATED_ROOT=
|