# DigiServer Environment Configuration # Copy this file to .env and modify the values as needed # Flask Configuration FLASK_APP=app.py FLASK_RUN_HOST=0.0.0.0 FLASK_ENV=production # Security SECRET_KEY=Ma_Duc_Dupa_Merele_Lui_Ana # Change this to a secure random string in production! # Default Admin User ADMIN_USER=admin ADMIN_PASSWORD=Initial01! # Change the default password after first login! # Database Configuration # SQLite database file will be created in data/instance/dashboard.db # SQLALCHEMY_DATABASE_URI=sqlite:///instance/dashboard.db # Application Settings MAX_CONTENT_LENGTH=2147483648 # 2GB in bytes UPLOAD_FOLDER=static/uploads UPLOAD_FOLDERLOGO=static/resurse # Server Information SERVER_VERSION=1.1.0 BUILD_DATE=2025-06-29 # Docker Configuration (for docker-compose.yml) DIGISERVER_PORT=8880 CONTAINER_NAME=digiserver # Flask server settings (for development) HOST=0.0.0.0 PORT=5000 # Optional: External Database (for advanced users) # DATABASE_URL=postgresql://user:password@localhost/digiserver # DATABASE_URL=mysql://user:password@localhost/digiserver