DocuPulse is designed for containerized deployment using Docker and Docker Compose, providing a scalable, production-ready infrastructure. The system supports both single-instance deployments and multi-tenant orchestration with automated provisioning and health monitoring.
DATABASE_URL - PostgreSQL connectionSECRET_KEY - Flask secret keyFLASK_ENV - Environment modeSERVER_NAME - Server hostnamePREFERRED_URL_SCHEME - HTTP/HTTPSPORT - External port mappingMASTER - Master instance flagISMASTER - Master instance modeCSS_VERSION - Asset versioningUPLOAD_FOLDER - File storage pathLOG_LEVEL - Logging verbosityDEBUG - Debug mode flag/health - Application healthAPP_VERSION - Application version/tagGIT_COMMIT - Git commit hashGIT_BRANCH - Git branch nameDEPLOYED_AT - Deployment timestampGET /api/version
{
"version": "v1.2.3",
"tag": "v1.2.3",
"commit": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0",
"branch": "main",
"deployed_at": "2024-01-15T10:30:00.000000"
}
docker-compose up -d
docker-compose down
docker-compose logs
docker-compose ps
flask db upgrade
flask create-admin