66 lines
3.1 KiB
Plaintext
66 lines
3.1 KiB
Plaintext
# ============================================================
|
|
# GitDataAI Development Environment Variables
|
|
# Copy to .env and adjust as needed
|
|
# ============================================================
|
|
|
|
# ── Database ───────────────────────────────────────────────
|
|
POSTGRES_USER=gitdata
|
|
POSTGRES_PASSWORD=gitdata123
|
|
POSTGRES_DB=app
|
|
|
|
# ── MinIO (S3-compatible storage) ──────────────────────────
|
|
MINIO_ROOT_USER=admin
|
|
MINIO_ROOT_PASSWORD=mysecret123
|
|
|
|
# ── Application ────────────────────────────────────────────
|
|
APP_API_PORT=8080
|
|
APP_NAME=gitdata
|
|
APP_DOMAIN_URL=http://localhost
|
|
APP_SESSION_SECRET=supersecretdevkey123
|
|
|
|
# ── Database Connection ────────────────────────────────────
|
|
APP_DATABASE_URL=postgres://gitdata:gitdata123@localhost:5432/app
|
|
|
|
# ── Redis ──────────────────────────────────────────────────
|
|
APP_REDIS_URLS=redis://localhost:6379
|
|
|
|
# ── Qdrant Vector DB ───────────────────────────────────────
|
|
APP_QDRANT_URL=http://localhost:6333
|
|
|
|
# ── NATS ───────────────────────────────────────────────────
|
|
NATS_URL=nats://localhost:4222
|
|
|
|
# ── Storage (S3) ───────────────────────────────────────────
|
|
APP_STORAGE_BACKEND=s3
|
|
APP_STORAGE_S3_BUCKET=gitdata
|
|
APP_STORAGE_S3_REGION=us-east-1
|
|
APP_STORAGE_S3_ENDPOINT_URL=http://localhost:9000
|
|
APP_STORAGE_S3_ACCESS_KEY_ID=admin
|
|
APP_STORAGE_S3_SECRET_ACCESS_KEY=mysecret123
|
|
APP_STORAGE_S3_FORCE_PATH_STYLE=true
|
|
|
|
# ── Git Service (gitpod) ───────────────────────────────────
|
|
APP_GIT_RPC_ADDR=0.0.0.0
|
|
APP_GIT_RPC_PORT=5030
|
|
APP_GIT_HTTP_PORT=5023
|
|
APP_SSH_PORT=5022
|
|
|
|
# ── GitSync Health ─────────────────────────────────────────
|
|
APP_GITSYNC_HEALTH_PORT=5083
|
|
|
|
# ── SMTP (Email) ───────────────────────────────────────────
|
|
# For development, use MailHog: docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
|
|
APP_SMTP_HOST=localhost
|
|
APP_SMTP_PORT=1025
|
|
APP_SMTP_USERNAME=dev
|
|
APP_SMTP_PASSWORD=dev
|
|
APP_SMTP_FROM=Gitdata <noreply@localhost>
|
|
|
|
# ── AI / Embed ─────────────────────────────────────────────
|
|
APP_AI_BASIC_URL=http://localhost:11434/v1
|
|
APP_AI_API_KEY=ollama
|
|
APP_EMBED_MODEL_BASE_URL=http://localhost:11434/v1
|
|
APP_EMBED_MODEL_API_KEY=ollama
|
|
APP_EMBED_MODEL_NAME=nomic-embed-text
|
|
APP_EMBED_MODEL_DIMENSIONS=768
|