backend/.env.example
creations 8a9499be85
All checks were successful
Code quality checks / biome (push) Successful in 8s
re-order alot, move to bun redis, generalized
2025-05-18 09:53:23 -04:00

32 lines
762 B
Text

# NODE_ENV=development
HOST=0.0.0.0
PORT=9090
# Replace with your domain name or IP address
# If you are using a reverse proxy, set the FQDN to your domain name
FQDN=localhost:9090
PGHOST=localhost
PGPORT=5432
PGUSERNAME=postgres
PGPASSWORD=postgres
PGDATABASE=postgres
REDIS_URL=redis://localhost:6379
REDIS_TTL=3600
# For sessions and cookies, can be generated using `openssl rand -base64 32`
JWT_SECRET=your_jwt_secret
JWT_EXPIRES=1d
# S3 or local
DATASOURCE_TYPE=local
DATASOURCE_LOCAL_DIRECTORY=./uploads
# if you want to use S3, supports anything https://bun.sh/docs/api/s3
S3_ACCESS_KEY_ID=your_access_key
S3_SECRET_ACCESS_KEY=your_secret_key
S3_REGION=us-east-1
S3_ENDPOINT=your_endpoint
S3_BUCKET=your_bucket
# S3_SESSION_TOKEN=your_session_token