9cfd018d0d
- Change default ports to 7510 (backend) and 7511 (frontend) to avoid conflicts - Add PORT environment variable support for both services - Create docker-compose.dev.yml for development without SSL/nginx - Add development script (scripts/dev.sh) for easy local development - Create comprehensive port configuration documentation - Update docker-compose.yml to support dynamic port configuration - Add frontend .env.example with development settings This allows running the application on custom ports internally without SSL, making it easier to integrate with existing infrastructure. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
840 B
Bash
37 lines
840 B
Bash
# Application
|
|
NODE_ENV=production
|
|
PORT=7510
|
|
LOG_LEVEL=info
|
|
|
|
# Authentication
|
|
ADMIN_PASSWORD_HASH=$2b$12$REPLACE_WITH_ACTUAL_HASH
|
|
JWT_SECRET=REPLACE_WITH_RANDOM_64_CHAR_STRING
|
|
SESSION_TIMEOUT=1800
|
|
|
|
# IP Restrictions
|
|
ENABLE_IP_RESTRICTION=true
|
|
ALLOWED_IPS=192.168.1.0/24,10.0.0.5,172.16.0.0/16
|
|
|
|
# MinIO Configuration
|
|
DEFAULT_MINIO_ALIAS=kopiaminio
|
|
MINIO_ENDPOINT=https://minio.example.com
|
|
MINIO_ACCESS_KEY=minioadmin
|
|
MINIO_SECRET_KEY=minioadmin
|
|
|
|
# Email Configuration (for reports)
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
SMTP_SECURE=false
|
|
SMTP_USER=your-email@gmail.com
|
|
SMTP_PASS=your-app-password
|
|
REPORT_RECIPIENT=info@example.com
|
|
REPORT_SENDER=kopiabackup@example.com
|
|
|
|
# Report Schedule (cron format)
|
|
# Every Monday at midnight
|
|
REPORT_SCHEDULE=0 0 * * 1
|
|
|
|
# Redis Configuration (optional)
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD= |