diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index f1e92c9..5044099 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -1,6 +1,5 @@ spring.security.user.name=admin spring.security.user.password=1234 -server.port=5050 eureka.server.my-url=eureka eureka.client.service-url.defaultZone=\ http://${spring.security.user.name}:${spring.security.user.password}@localhost:${server.port}/${eureka.server.my-url} diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index f2d79d1..865f96a 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -1,5 +1,4 @@ spring.security.user.name=admin spring.security.user.password=chzhvkdlrkwhgdkdy!12 -server.port=5050 eureka.server.my-url=eureka eureka.client.service-url.defaultZone=http://${spring.security.user.name}:${spring.security.user.password}@180.210.82.248:${server.port}/${eureka.server.my-url}/ diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 2239e52..70fa56a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,10 +1,18 @@ +server.port=5050 + server.shutdown=graceful spring.lifecycle.timeout-per-shutdown-phase=10s eureka.client.register-with-eureka=false eureka.client.fetch-registry=false + +### ????? +#spring.profiles.active=dev +## + +# ??? spring.security.user.name=admin spring.security.user.password=chzhvkdlrkwhgdkdy!12 -server.port=5050 eureka.server.my-url=eureka eureka.client.service-url.defaultZone=http://${spring.security.user.name}:${spring.security.user.password}@180.210.82.248:${server.port}/${eureka.server.my-url}/ +#