# Memos Version
MEMOS_VERSION=0.25.3

# Server mode: dev, prod, or demo
MEMOS_MODE=prod

# Server address
MEMOS_ADDR=0.0.0.0

# Server port (inside container)
MEMOS_PORT=5230

# Port to bind to on the host machine
MEMOS_PORT_OVERRIDE=5230

# Data directory path (inside container)
MEMOS_DATA=/var/opt/memos

# Database driver: sqlite, postgres, or mysql
MEMOS_DRIVER=sqlite

# Database connection string (DSN) - required for postgres/mysql
# PostgreSQL example: postgres://user:password@host:port/dbname?sslmode=disable
# MySQL example: user:password@tcp(host:port)/dbname?charset=utf8mb4&parseTime=True&loc=Local
# MEMOS_DSN=

# Public URL of your Memos instance (optional)
# MEMOS_INSTANCE_URL=https://memos.example.com

# Timezone
TZ=UTC

# Resource Limits
MEMOS_CPU_LIMIT=1.0
MEMOS_MEMORY_LIMIT=512M
MEMOS_CPU_RESERVATION=0.1
MEMOS_MEMORY_RESERVATION=128M