mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-06-06 05:51:19 +08:00
30 lines
681 B
Plaintext
30 lines
681 B
Plaintext
# NOFX Environment Variables Template
|
|
# Copy this file to .env and modify the values as needed
|
|
|
|
# PostgreSQL数据库配置
|
|
POSTGRES_HOST=postgres
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DB=nofx
|
|
POSTGRES_USER=nofx
|
|
POSTGRES_PASSWORD=nofx123456
|
|
|
|
# Redis配置
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=redis123456
|
|
|
|
# 数据加密密钥
|
|
DATA_ENCRYPTION_KEY=my_secret_encryption_key
|
|
|
|
# Ports Configuration
|
|
# Backend API server port (internal: 8080, external: configurable)
|
|
NOFX_BACKEND_PORT=8080
|
|
|
|
# Frontend web interface port (Nginx listens on port 80 internally)
|
|
NOFX_FRONTEND_PORT=3000
|
|
|
|
# Timezone Setting
|
|
# System timezone for container time synchronization
|
|
NOFX_TIMEZONE=Asia/Shanghai
|
|
|