环境修改
This commit is contained in:
parent
8141eed0dd
commit
c6d2c74896
@ -15,4 +15,4 @@ ENV JAVA_OPTS="-Xms256m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
|
||||
EXPOSE 48084
|
||||
|
||||
## 启动后端项目
|
||||
CMD java ${JAVA_OPTS} -jar app.jar
|
||||
CMD java ${JAVA_OPTS} -jar app.jar --spring.profiles.active=dev
|
||||
|
@ -3,7 +3,7 @@ spring:
|
||||
name: job-server
|
||||
|
||||
profiles:
|
||||
active: dev
|
||||
active: local
|
||||
|
||||
server:
|
||||
port: 9090
|
||||
|
@ -17,4 +17,4 @@ ENV JAVA_OPTS="-Xms512m -Xmx512m -Djava.security.egd=file:/dev/./urandom"
|
||||
EXPOSE 48092
|
||||
|
||||
## 启动后端项目
|
||||
CMD java ${JAVA_OPTS} -jar app.jar
|
||||
CMD java ${JAVA_OPTS} -jar app.jar --spring.profiles.active=dev
|
@ -3,7 +3,7 @@ spring:
|
||||
name: datacenter-server
|
||||
|
||||
profiles:
|
||||
active: dev
|
||||
active: local
|
||||
|
||||
server:
|
||||
port: 48092
|
||||
|
@ -17,4 +17,4 @@ ENV JAVA_OPTS="-Xms256m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
|
||||
EXPOSE 48090
|
||||
|
||||
## 启动后端项目
|
||||
CMD java ${JAVA_OPTS} -jar app.jar
|
||||
CMD java ${JAVA_OPTS} -jar app.jar --spring.profiles.active=dev
|
||||
|
@ -3,7 +3,7 @@ spring:
|
||||
name: parking-server
|
||||
|
||||
profiles:
|
||||
active: dev
|
||||
active: local
|
||||
|
||||
server:
|
||||
port: 48090
|
||||
|
@ -17,4 +17,4 @@ ENV JAVA_OPTS="-Xms256m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
|
||||
EXPOSE 48088
|
||||
|
||||
## 启动后端项目
|
||||
CMD java ${JAVA_OPTS} -jar app.jar
|
||||
CMD java ${JAVA_OPTS} -jar app.jar --spring.profiles.active=dev
|
||||
|
@ -3,7 +3,7 @@ spring:
|
||||
name: ticket-server
|
||||
|
||||
profiles:
|
||||
active: dev
|
||||
active: local
|
||||
|
||||
server:
|
||||
port: 48088
|
||||
|
@ -15,4 +15,4 @@ ENV JAVA_OPTS="-Xms512m -Xmx512m -Djava.security.egd=file:/dev/./urandom"
|
||||
EXPOSE 48080
|
||||
|
||||
## 启动后端项目
|
||||
CMD java ${JAVA_OPTS} -jar app.jar
|
||||
CMD java ${JAVA_OPTS} -jar app.jar --spring.profiles.active=dev
|
||||
|
@ -3,7 +3,7 @@ spring:
|
||||
name: gateway-server
|
||||
|
||||
profiles:
|
||||
active: dev
|
||||
active: local
|
||||
|
||||
server:
|
||||
port: 48080
|
||||
|
@ -17,4 +17,4 @@ ENV JAVA_OPTS="-Xms256m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
|
||||
EXPOSE 48082
|
||||
|
||||
## 启动后端项目
|
||||
CMD java ${JAVA_OPTS} -jar app.jar
|
||||
CMD java ${JAVA_OPTS} -jar app.jar --spring.profiles.active=dev
|
||||
|
@ -3,7 +3,7 @@ spring:
|
||||
name: infra-server
|
||||
|
||||
profiles:
|
||||
active: dev
|
||||
active: local
|
||||
|
||||
server:
|
||||
port: 48082
|
||||
|
@ -17,4 +17,4 @@ ENV JAVA_OPTS="-Xms256m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
|
||||
EXPOSE 48081
|
||||
|
||||
## 启动后端项目
|
||||
CMD java ${JAVA_OPTS} -jar app.jar
|
||||
CMD java ${JAVA_OPTS} -jar app.jar --spring.profiles.active=dev
|
||||
|
@ -3,7 +3,7 @@ spring:
|
||||
name: system-server
|
||||
|
||||
profiles:
|
||||
active: dev
|
||||
active: local
|
||||
|
||||
server:
|
||||
port: 48081
|
||||
|
Loading…
Reference in New Issue
Block a user