Updates application port to 3004
WHAT: Updates the application's default port from 8080 to 3004 across various Docker configurations and scripts. This includes changes to Dockerfiles, docker-compose files, and startup scripts. Also updates the vite config. WHY: Standardizes the port used by the application to 3004 for consistency and to avoid potential conflicts with other services that might be using port 8080. HOW: Modifies the `EXPOSE` directives in the Dockerfiles, the port mappings in the docker-compose files, the default port in the main application server file, the port in the vite config and the scripts that display the API URL.
This commit is contained in:
parent
1b16056075
commit
31801d0991
8 changed files with 11 additions and 10 deletions
|
|
@ -37,6 +37,6 @@ fi
|
|||
echo "[步骤] 启动 Docker Compose (开发)"
|
||||
(cd "$ROOT_DIR/docker" && DOCKER_PLATFORM=${DOCKER_PLATFORM} docker compose -f docker-compose.dev.yml up -d --build)
|
||||
|
||||
echo "[完成] API: http://localhost:8080"
|
||||
echo "[完成] API: http://localhost:3004"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue