mirror of
https://github.com/colanode/colanode.git
synced 2026-07-10 12:29:09 +02:00
74 lines
4.6 KiB
Plaintext
74 lines
4.6 KiB
Plaintext
# ------------------------------------------------------------------
|
|
# Example .env for Colanode Server
|
|
# Copy this file to ".env" and adjust the values as needed.
|
|
# ------------------------------------------------------------------
|
|
|
|
# ───────────────────────────────────────────────────────────────
|
|
# General Node/Server Config
|
|
# ───────────────────────────────────────────────────────────────
|
|
NODE_ENV=production
|
|
SERVER_NAME="Colanode Local"
|
|
SERVER_AVATAR=
|
|
SERVER_MODE=standalone # 'standalone' or 'cluster'
|
|
# SERVER_PATH_PREFIX=
|
|
# SERVER_CORS_ORIGIN=http://localhost:4000
|
|
# SERVER_CORS_MAX_AGE=7200
|
|
|
|
# ───────────────────────────────────────────────────────────────
|
|
# Account Configuration
|
|
# ───────────────────────────────────────────────────────────────
|
|
ACCOUNT_VERIFICATION_TYPE=automatic # automatic | manual | email
|
|
ACCOUNT_OTP_TIMEOUT=600 # seconds
|
|
# ACCOUNT_GOOGLE_ENABLED=true
|
|
# ACCOUNT_GOOGLE_CLIENT_ID=
|
|
# ACCOUNT_GOOGLE_CLIENT_SECRET=
|
|
|
|
# ───────────────────────────────────────────────────────────────
|
|
# User Configuration
|
|
# ───────────────────────────────────────────────────────────────
|
|
USER_STORAGE_LIMIT=10737418240 # 10 GB
|
|
USER_MAX_FILE_SIZE=104857600 # 100 MB
|
|
|
|
# ───────────────────────────────────────────────────────────────
|
|
# PostgreSQL Configuration
|
|
# ───────────────────────────────────────────────────────────────
|
|
POSTGRES_URL=postgres://colanode_user:postgrespass123@localhost:5432/colanode_db
|
|
# POSTGRES_SSL_REJECT_UNAUTHORIZED=false
|
|
# POSTGRES_SSL_CA=
|
|
# POSTGRES_SSL_KEY=
|
|
# POSTGRES_SSL_CERT=
|
|
|
|
# ───────────────────────────────────────────────────────────────
|
|
# Redis Configuration
|
|
# ───────────────────────────────────────────────────────────────
|
|
REDIS_URL=redis://:your_valkey_password@localhost:6379/0
|
|
REDIS_DB=0
|
|
REDIS_JOBS_QUEUE_NAME=jobs
|
|
REDIS_JOBS_QUEUE_PREFIX=colanode
|
|
REDIS_EVENTS_CHANNEL=events
|
|
|
|
# ───────────────────────────────────────────────────────────────
|
|
# S3 Storage Configuration (MinIO)
|
|
# ───────────────────────────────────────────────────────────────
|
|
STORAGE_S3_ENDPOINT=http://localhost:9000
|
|
STORAGE_S3_ACCESS_KEY=minioadmin
|
|
STORAGE_S3_SECRET_KEY=your_minio_password
|
|
STORAGE_S3_BUCKET=colanode
|
|
STORAGE_S3_REGION=us-east-1
|
|
STORAGE_S3_FORCE_PATH_STYLE=true
|
|
|
|
# ───────────────────────────────────────────────────────────────
|
|
# SMTP Configuration
|
|
# ───────────────────────────────────────────────────────────────
|
|
SMTP_ENABLED=false
|
|
# SMTP_HOST=smtp
|
|
# SMTP_PORT=1025
|
|
# SMTP_USER=
|
|
# SMTP_PASSWORD=
|
|
# SMTP_EMAIL_FROM=your_email@example.com
|
|
# SMTP_EMAIL_FROM_NAME=Colanode
|
|
|
|
# ───────────────────────────────────────────────────────────────
|
|
# AI Configuration (experimental)
|
|
# ───────────────────────────────────────────────────────────────
|
|
AI_ENABLED=false |