Update service port from 8080 to 48081 in docker-compose, application configurations, and README documentation.
This commit is contained in:
@@ -43,11 +43,11 @@ mvn clean compile
|
||||
mvn spring-boot:run
|
||||
```
|
||||
|
||||
项目启动后,访问:`http://localhost:8080/sftp-manager`
|
||||
项目启动后,访问:`http://localhost:48081/sftp-manager`
|
||||
|
||||
### H2数据库控制台
|
||||
|
||||
访问:`http://localhost:8080/sftp-manager/h2-console`
|
||||
访问:`http://localhost:48081/sftp-manager/h2-console`
|
||||
|
||||
- JDBC URL: `jdbc:h2:file:./data/sftp-manager`
|
||||
- 用户名: `sa`
|
||||
|
||||
@@ -3,7 +3,7 @@ services:
|
||||
sftp-manager:
|
||||
build: .
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "48081:48081"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- ./logs:/app/logs
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 生产环境配置
|
||||
server:
|
||||
port: 8080
|
||||
port: 48081
|
||||
servlet:
|
||||
context-path: /sftp-manager
|
||||
tomcat:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
server:
|
||||
port: 8080 # 服务端口
|
||||
port: 48081 # 服务端口
|
||||
|
||||
spring:
|
||||
application:
|
||||
|
||||
Reference in New Issue
Block a user