Fetching metadata from the HF Docker repository...
-
Setup Dify for HF Spaces deployment with optimized Docker configuration
-
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 issue -
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 management -
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 management
-
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 management -
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 issues -
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 failures -
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 failures -
update
-
feat: update database configuration in docker-compose
- Add DATABASE_TYPE environment variable
- Update database health checks
- Standardize environment variables across services -
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 database -
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) -
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)
-
fix: improve database initialization and connection handling
-
feat: optimize Dockerfile for HuggingFace Spaces deployment
-
feat: optimize Dockerfile for HuggingFace Spaces deployment
-
feat: optimize Dockerfile for HuggingFace Spaces deployment
-
Update Dockerfile for correct directory structure
-
Update Dockerfile for correct directory structure
-
Update Dockerfile for correct directory structure
-
Update Dockerfile for correct directory structure
-
Remove all README files
-
initial commit