23 lines
695 B
Text
23 lines
695 B
Text
# Indexium — root .env.example (docker-compose + local dev)
|
|
|
|
# --- Postgres (docker-compose service "postgres") ---
|
|
POSTGRES_DB=indexium
|
|
POSTGRES_USER=indexium
|
|
POSTGRES_PASSWORD=indexium
|
|
|
|
# --- Backend ---
|
|
DATABASE_URL=postgres://indexium:indexium@postgres:5432/indexium
|
|
# локально без docker: postgres://indexium:indexium@localhost:5432/indexium
|
|
SERVER_PORT=8080
|
|
RUST_LOG=info
|
|
REDIS_URL=redis://redis:6379
|
|
# локально без docker: redis://localhost:6379
|
|
|
|
# --- Frontend (SvelteKit / Vite) ---
|
|
PUBLIC_API_URL=http://localhost:8080
|
|
VITE_PUBLIC_API_URL=http://localhost:8080
|
|
|
|
# --- Optional / Phase 2 ---
|
|
# WEBHOOK_SECRET=change_me
|
|
# GITHUB_APP_ID=
|
|
# GITHUB_APP_PRIVATE_KEY=
|