From bdad463e542c4d3e3be482d71de493708026a000 Mon Sep 17 00:00:00 2001 From: krikera Date: Tue, 24 Jun 2025 13:32:05 +0530 Subject: [PATCH] docs: add INTERNAL_FILES_URL to Docker configuration - Add INTERNAL_FILES_URL to docker-compose.yaml environment variables - Add configuration example and documentation to docker/.env.example - Addresses reviewer feedback for Docker compose file updates --- docker/.env.example | 5 +++++ docker/docker-compose.yaml | 1 + 2 files changed, 6 insertions(+) diff --git a/docker/.env.example b/docker/.env.example index 5a2a426338..212cc0ca9d 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -47,6 +47,11 @@ APP_WEB_URL= # ensuring port 5001 is externally accessible (see docker-compose.yaml). FILES_URL= +# INTERNAL_FILES_URL is used for plugin daemon communication within Docker network. +# Set this to the internal Docker service URL for proper plugin file access. +# Example: INTERNAL_FILES_URL=http://api:5001 +INTERNAL_FILES_URL= + # ------------------------------ # Server Configuration # ------------------------------ diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 5f13060658..8f775ca8cd 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -11,6 +11,7 @@ x-shared-env: &shared-api-worker-env APP_API_URL: ${APP_API_URL:-} APP_WEB_URL: ${APP_WEB_URL:-} FILES_URL: ${FILES_URL:-} + INTERNAL_FILES_URL: ${INTERNAL_FILES_URL:-} LOG_LEVEL: ${LOG_LEVEL:-INFO} LOG_FILE: ${LOG_FILE:-/app/logs/server.log} LOG_FILE_MAX_SIZE: ${LOG_FILE_MAX_SIZE:-20}