java-tutorials/spring-cloud/spring-cloud-rest/application-config/discovery.properties

16 lines
445 B
Properties
Raw Normal View History

spring.application.name=discovery
server.port=8761
#### cloud
eureka.instance.hostname=localhost
eureka.client.serviceUrl.defaultZone=${EUREKA_URI:http://system:systemPass@localhost:8761/eureka}
eureka.client.registerWithEureka=false
eureka.client.fetchRegistry=false
#### security
security.basic.enabled=true
security.basic.path=/**
security.user.name=system
security.user.password=systemPass
security.user.role=ADMIN
security.sessions=always