40 lines
768 B
Plaintext
40 lines
768 B
Plaintext
APP_ENV=dev
|
|
|
|
# Postgres
|
|
POSTGRES_USER=shop
|
|
POSTGRES_PASSWORD=shop
|
|
POSTGRES_DB=shop
|
|
POSTGRES_HOST=localhost
|
|
POSTGRES_PORT=5432
|
|
DATABASE_URL=postgresql+psycopg://shop:shop@localhost:5432/shop
|
|
|
|
# Redis
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# Meilisearch
|
|
MEILI_URL=http://localhost:7700
|
|
MEILI_KEY=shop-dev-master-key
|
|
|
|
# Ollama
|
|
OLLAMA_URL=http://localhost:11434
|
|
OLLAMA_CHAT_MODEL=llama3.1
|
|
OLLAMA_EMBED_MODEL=nomic-embed-text
|
|
OLLAMA_EMBED_DIM=768
|
|
|
|
# Mail (Mailhog in dev)
|
|
SMTP_HOST=localhost
|
|
SMTP_PORT=1025
|
|
MAIL_FROM=shop@example.com
|
|
|
|
# Auth
|
|
JWT_SECRET=change-me-in-prod-please-32chars-minimum-xxxxx
|
|
JWT_ACCESS_MINUTES=15
|
|
JWT_REFRESH_DAYS=30
|
|
|
|
# Upload
|
|
UPLOAD_DIR=./uploads
|
|
PUBLIC_BASE_URL=http://localhost:8000
|
|
|
|
# CORS
|
|
CORS_ORIGINS=http://localhost:5173,http://localhost:5174
|