Преглед на файлове

chore: add default value for FILES_URL

Signed-off-by: -LAN- <laipz8200@outlook.com>
tags/2.0.0-beta.1
-LAN- преди 1 месец
родител
ревизия
fae6d4f2dd
No account linked to committer's email address
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1
    1
      docker/.env.example
  2. 1
    1
      docker/docker-compose.yaml

+ 1
- 1
docker/.env.example Целия файл

@@ -45,7 +45,7 @@ APP_WEB_URL=
# Recommendation: use a dedicated domain (e.g., https://upload.example.com).
# Alternatively, use http://<your-ip>:5001 or http://api:5001,
# ensuring port 5001 is externally accessible (see docker-compose.yaml).
FILES_URL=
FILES_URL=http://api:5001

# 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.

+ 1
- 1
docker/docker-compose.yaml Целия файл

@@ -10,7 +10,7 @@ x-shared-env: &shared-api-worker-env
SERVICE_API_URL: ${SERVICE_API_URL:-}
APP_API_URL: ${APP_API_URL:-}
APP_WEB_URL: ${APP_WEB_URL:-}
FILES_URL: ${FILES_URL:-}
FILES_URL: ${FILES_URL:-http://api:5001}
INTERNAL_FILES_URL: ${INTERNAL_FILES_URL:-}
LANG: ${LANG:-en_US.UTF-8}
LC_ALL: ${LC_ALL:-en_US.UTF-8}

Loading…
Отказ
Запис