Commit History
-
Setup Dify for HF Spaces deployment with optimized Docker configuration
e26861f
-
fix: add missing Python dependencies
- Add openai package for LLM support - Add flask-migrate for database migrations - Update Flask CLI command in entrypoint.sh - Fix Redis client initialization issuef8b477a -
fix: add Python dependencies installation
- Add pip install before running Flask migrations - Fix openai module not found error - Improve error handling for database initialization - Add proper working directory managementa311353 -
fix: add Python dependencies installation
- Add pip install before running Flask migrations - Fix openai module not found error - Improve error handling for database initialization - Add proper working directory managementc400468
-
fix: add Python dependencies installation
- Add pip install before running Flask migrations - Fix openai module not found error - Improve error handling for database initialization - Add proper working directory management781b198 -
fix: improve Redis handling for HF Spaces
- Add Redis installation check - Add local Redis fallback for HF Spaces - Improve Redis connection handling - Add data directory for Redis persistence - Fix Redis connection timeout issues895529e -
fix: improve Redis and PostgreSQL connection handling
- Add proper error messages for connection failures - Implement local Redis fallback mechanism - Fix variable scoping in Redis check function - Add detailed logging for connection attempts - Ensure proper exit codes on failures3ec4c07 -
fix: improve Redis and PostgreSQL connection handling
- Add proper error messages for connection failures - Implement local Redis fallback mechanism - Fix variable scoping in Redis check function - Add detailed logging for connection attempts - Ensure proper exit codes on failures7d9cc10 -
update
6612613 -
feat: update database configuration in docker-compose
- Add DATABASE_TYPE environment variable - Update database health checks - Standardize environment variables across services8cfad5c -
feat: implement database fallback mechanism
- Add SQLite fallback support - Enhance PostgreSQL connection checks with timeout - Improve error handling and logging - Add directory creation for SQLite database46a883c -
fix: improve database connection handling in entrypoint
- Add timeout-based PostgreSQL connection check - Implement max retry attempts (30 attempts, 5s between each) - Add detailed connection attempt logging - Maintain compatibility with existing Redis checks - Exit gracefully if database connection fails after max attempts References: docker/entrypoint.sh (lines 1-33) docker/docker-compose.yaml (lines 331-346)8a398ad -
fix: improve database configuration and healthchecks
- Enhance database connection checks in entrypoint.sh Ref: docker/entrypoint.sh (lines 6-24) - Standardize database environment variables Ref: docker-compose.yaml (lines 34-38, 331-334) - Update healthcheck configurations for better reliability Ref: docker-compose.yaml (lines 337-341) Ref: docker-compose.middleware.yaml (lines 22-26) - Add proper network configuration Ref: docker-compose.yaml (lines 329-330) - Update database configuration documentation Ref: middleware.env.example (lines 4-41)d17b888
-
fix: improve database initialization and connection handling
8f2f82d -
feat: optimize Dockerfile for HuggingFace Spaces deployment
0848c81 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
53d8b27 -
feat: optimize Dockerfile for HuggingFace Spaces deployment
a300380
-
Update Dockerfile for correct directory structure
070b654 -
Update Dockerfile for correct directory structure
e3a6f0b
-
Update Dockerfile for correct directory structure
12e3afc -
Update Dockerfile for correct directory structure
a4bef0b -
Remove all README files
e06d413 -
initial commit
a8b3f00