mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-11 22:30:59 +04:30
NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
45 lines
1.0 KiB
Bash
45 lines
1.0 KiB
Bash
# PostgreSQL (DataGrip + API)
|
|
POSTGRES_HOST=localhost
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_USER=meshkee
|
|
POSTGRES_PASSWORD=meshkee_secret
|
|
POSTGRES_DB=meshkee_cms
|
|
|
|
DATABASE_URL=postgresql://meshkee:meshkee_secret@localhost:5432/meshkee_cms
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
# API
|
|
PORT=3000
|
|
|
|
# JWT
|
|
JWT_ACCESS_SECRET=change-me-access-secret-min-32-chars-long
|
|
JWT_REFRESH_SECRET=change-me-refresh-secret-min-32-chars-long
|
|
JWT_ACCESS_EXPIRES_IN=15m
|
|
JWT_REFRESH_EXPIRES_IN=7d
|
|
|
|
# SMS (set to true when SMS provider API is ready)
|
|
SMS_ENABLED=false
|
|
|
|
# Object storage (Parmin / S3-compatible)
|
|
STORAGE_DISK=s3
|
|
S3_ENDPOINT=https://sas.amin.parminstorage.ir
|
|
S3_BUCKET=meshkee-storage
|
|
S3_PUBLIC_URL=https://meshkee-storage.sas.amin.parminstorage.ir
|
|
S3_REGION=us-east-1
|
|
S3_FORCE_PATH_STYLE=true
|
|
S3_ACCESS_KEY_ID=
|
|
S3_SECRET_ACCESS_KEY=
|
|
|
|
# AI product generation (use Groq free tier or OpenAI)
|
|
AI_PROVIDER=groq
|
|
GROQ_API_KEY=
|
|
GROQ_MODEL=llama-3.3-70b-versatile
|
|
OPENAI_API_KEY=
|
|
OPENAI_MODEL=gpt-4o-mini
|
|
|
|
MEDIA_MAX_FILE_SIZE_MB=10
|