Add RAGFlow Admin hostname configuration and update related files

- Added RAGFLOW_ADMIN_HOSTNAME to .env.example for environment variable consistency.
- Updated Caddyfile to use the new RAGFLOW_ADMIN_HOSTNAME for the admin reverse proxy.
- Included RAGFLOW_ADMIN_HOSTNAME in docker-compose.yml to ensure proper service configuration.
- Modified final report script to display the admin host information for better visibility.
This commit is contained in:
Yury Kossakovsky
2025-10-29 16:25:08 -06:00
parent a3bae6855e
commit e551756a9f
4 changed files with 4 additions and 1 deletions

View File

@@ -158,6 +158,7 @@ PROMETHEUS_HOSTNAME=prometheus.yourdomain.com
QDRANT_HOSTNAME=qdrant.yourdomain.com
RAGAPP_HOSTNAME=ragapp.yourdomain.com
RAGFLOW_HOSTNAME=ragflow.yourdomain.com
RAGFLOW_ADMIN_HOSTNAME=ragflow-admin
SEARXNG_HOSTNAME=searxng.yourdomain.com
SUPABASE_HOSTNAME=supabase.yourdomain.com
WEAVIATE_HOSTNAME=weaviate.yourdomain.com

View File

@@ -39,7 +39,7 @@
}
# RAGFlow Admin
{$RAGFLOW_HOSTNAME}-admin {
{$RAGFLOW_ADMIN_HOSTNAME} {
reverse_proxy ragflow:9381
}

View File

@@ -250,6 +250,7 @@ services:
- QDRANT_HOSTNAME=${QDRANT_HOSTNAME}
- RAGAPP_HOSTNAME=${RAGAPP_HOSTNAME}
- RAGFLOW_HOSTNAME=${RAGFLOW_HOSTNAME}
- RAGFLOW_ADMIN_HOSTNAME=${RAGFLOW_ADMIN_HOSTNAME}
- RAGAPP_PASSWORD_HASH=${RAGAPP_PASSWORD_HASH}
- RAGAPP_USERNAME=${RAGAPP_USERNAME}
- SEARXNG_HOSTNAME=${SEARXNG_HOSTNAME}

View File

@@ -177,6 +177,7 @@ if is_profile_active "ragflow"; then
echo "================================= RAGFlow ============================="
echo
echo "Host: ${RAGFLOW_HOSTNAME:-<hostname_not_set>}"
echo "Admin Host: ${RAGFLOW_ADMIN_HOSTNAME:-<hostname_not_set>}"
echo "API (external via Caddy): https://${RAGFLOW_HOSTNAME:-<hostname_not_set>}"
echo "API (internal): http://ragflow:80"
echo "Note: Uses built-in authentication (login/registration available in web UI)"