mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-18 02:11:04 +08:00
- introduce .env.example with 1140+ configuration options for API service and worker - enhance configuration coverage for database, redis, vector stores, and storage providers - add new datasource configuration options for website readers (jinareader, firecrawl, watercrawl) - expand vector store support with additional providers including matrixone, opengauss, tablestore, and vastbase - improve workflow configuration with enhanced storage options and security settings 📝 docs(dify): update configuration templates and documentation - enhance nginx configuration with improved variable substitution and MCP proxy support - update squid proxy configuration with additional security rules and increased buffer size - improve oracle database initialization scripts with world_lexer preference - update tidb configuration files and docker-compose for version compatibility ♻️ refactor(structure): reorganize project directory layout - move configuration files from conf/ subdirectory to app root for better clarity - rename envs/dify.env to dify.env for consistency - update file paths in docker-compose.yml to reflect new directory structure - remove redundant configuration files and consolidate volumes 🔧 chore(dify): simplify form configuration and remove obsolete scripts - remove database and vector store port configurations from data.yml form fields - eliminate obsolete initialization and upgrade scripts - add new pgvector docker-entrypoint.sh script for pg_bigm installation support - update docker-compose.yml with enhanced environment variables and service configurations
31 lines
927 B
Bash
31 lines
927 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
printf '%s\n' "Docker entrypoint script is running"
|
|
|
|
printf '%s\n' "\nChecking specific environment variables:"
|
|
printf '%s\n' "CERTBOT_EMAIL: ${CERTBOT_EMAIL:-Not set}"
|
|
printf '%s\n' "CERTBOT_DOMAIN: ${CERTBOT_DOMAIN:-Not set}"
|
|
printf '%s\n' "CERTBOT_OPTIONS: ${CERTBOT_OPTIONS:-Not set}"
|
|
|
|
printf '%s\n' "\nChecking mounted directories:"
|
|
for dir in "/etc/letsencrypt" "/var/www/html" "/var/log/letsencrypt"; do
|
|
if [ -d "$dir" ]; then
|
|
printf '%s\n' "$dir exists. Contents:"
|
|
ls -la "$dir"
|
|
else
|
|
printf '%s\n' "$dir does not exist."
|
|
fi
|
|
done
|
|
|
|
printf '%s\n' "\nGenerating update-cert.sh from template"
|
|
sed -e "s|\${CERTBOT_EMAIL}|$CERTBOT_EMAIL|g" \
|
|
-e "s|\${CERTBOT_DOMAIN}|$CERTBOT_DOMAIN|g" \
|
|
-e "s|\${CERTBOT_OPTIONS}|$CERTBOT_OPTIONS|g" \
|
|
/update-cert.template.txt > /update-cert.sh
|
|
|
|
chmod +x /update-cert.sh
|
|
|
|
printf '%s\n' "\nExecuting command:" "$@"
|
|
exec "$@"
|