瀏覽代碼

chore: add default value for FILES_URL

Signed-off-by: -LAN- <laipz8200@outlook.com>
tags/2.0.0-beta.1
-LAN- 1 月之前
父節點
當前提交
fae6d4f2dd
沒有連結到貢獻者的電子郵件帳戶。
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      docker/.env.example
  2. 1
    1
      docker/docker-compose.yaml

+ 1
- 1
docker/.env.example 查看文件

# Recommendation: use a dedicated domain (e.g., https://upload.example.com). # Recommendation: use a dedicated domain (e.g., https://upload.example.com).
# Alternatively, use http://<your-ip>:5001 or http://api:5001, # Alternatively, use http://<your-ip>:5001 or http://api:5001,
# ensuring port 5001 is externally accessible (see docker-compose.yaml). # 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. # 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. # Set this to the internal Docker service URL for proper plugin file access.

+ 1
- 1
docker/docker-compose.yaml 查看文件

SERVICE_API_URL: ${SERVICE_API_URL:-} SERVICE_API_URL: ${SERVICE_API_URL:-}
APP_API_URL: ${APP_API_URL:-} APP_API_URL: ${APP_API_URL:-}
APP_WEB_URL: ${APP_WEB_URL:-} APP_WEB_URL: ${APP_WEB_URL:-}
FILES_URL: ${FILES_URL:-}
FILES_URL: ${FILES_URL:-http://api:5001}
INTERNAL_FILES_URL: ${INTERNAL_FILES_URL:-} INTERNAL_FILES_URL: ${INTERNAL_FILES_URL:-}
LANG: ${LANG:-en_US.UTF-8} LANG: ${LANG:-en_US.UTF-8}
LC_ALL: ${LC_ALL:-en_US.UTF-8} LC_ALL: ${LC_ALL:-en_US.UTF-8}

Loading…
取消
儲存