mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 09:58:22 +08:00
0c599ba70b
- Add .env.example template for configurable Docker deployment settings - Update docker-compose.yml to support environment-driven port/timezone configuration - Refactor start.sh with improved Docker Compose detection, environment validation, and automated frontend building - Enhance script documentation and error handling for better maintainability
14 lines
402 B
Bash
14 lines
402 B
Bash
# NOFX Environment Variables Template
|
|
# Copy this file to .env and modify the values as needed
|
|
|
|
# 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
|