增加Dockerfile
This commit is contained in:
parent
c67b6a3df3
commit
25d7d1668b
4
Dockerfile
Normal file
4
Dockerfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
FROM openjdk:8u292-jre-buster
|
||||||
|
ARG JAR_FILE=/target/*.jar
|
||||||
|
COPY ${JAR_FILE} wg-gateway.jar
|
||||||
|
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/wg-gateway.jar"]
|
@ -1,5 +1,5 @@
|
|||||||
server:
|
server:
|
||||||
port: 9999
|
port: 8888
|
||||||
spring:
|
spring:
|
||||||
cloud:
|
cloud:
|
||||||
gateway:
|
gateway:
|
||||||
|
@ -10,7 +10,7 @@ spring:
|
|||||||
use-insecure-trust-manager: true
|
use-insecure-trust-manager: true
|
||||||
data:
|
data:
|
||||||
mongodb:
|
mongodb:
|
||||||
uri: mongodb://127.0.0.1:27017/gateway
|
uri: mongodb://mongo:27017/gateway
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
|
Loading…
Reference in New Issue
Block a user