Skip to content

Commit fae6d4f

Browse files
committed
chore: add default value for FILES_URL
Signed-off-by: -LAN- <[email protected]>
1 parent 495324b commit fae6d4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ APP_WEB_URL=
4545
# Recommendation: use a dedicated domain (e.g., https://upload.example.com).
4646
# Alternatively, use http://<your-ip>:5001 or http://api:5001,
4747
# ensuring port 5001 is externally accessible (see docker-compose.yaml).
48-
FILES_URL=
48+
FILES_URL=http://api:5001
4949

5050
# INTERNAL_FILES_URL is used for plugin daemon communication within Docker network.
5151
# Set this to the internal Docker service URL for proper plugin file access.

docker/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ x-shared-env: &shared-api-worker-env
1010
SERVICE_API_URL: ${SERVICE_API_URL:-}
1111
APP_API_URL: ${APP_API_URL:-}
1212
APP_WEB_URL: ${APP_WEB_URL:-}
13-
FILES_URL: ${FILES_URL:-}
13+
FILES_URL: ${FILES_URL:-http://api:5001}
1414
INTERNAL_FILES_URL: ${INTERNAL_FILES_URL:-}
1515
LANG: ${LANG:-en_US.UTF-8}
1616
LC_ALL: ${LC_ALL:-en_US.UTF-8}

0 commit comments

Comments
 (0)