Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (59 sloc) 1.34 KB
spring:
profiles:
active: development
server:
port: 0
---
spring:
profiles: development
eureka:
client:
enabled: false
amazon:
aws:
access-key-id: replace
access-key-secret: replace
ribbon:
ReadTimeout: 30000
ConnectTimeout: 30000
---
spring:
profiles: test
eureka:
client:
enabled: false
---
spring:
profiles: docker
eureka:
client:
service-url:
defaultZone: http://${DOCKER_IP:192.168.99.100}:8761/eureka
registryFetchIntervalSeconds: 5
instance:
hostname: ${DOCKER_IP:192.168.99.100}
instance-id: ${spring.application.name}:${random.int}
leaseRenewalIntervalInSeconds: 5
---
spring:
profiles: cloud
jpa:
hibernate:
ddl-auto: update
database-platform: org.hibernate.dialect.MySQLDialect
amazon:
aws:
access-key-id: ${AMAZON_AWS_ACCESS_KEY_ID:replace}
access-key-secret: ${AMAZON_AWS_ACCESS_KEY_SECRET:replace}
eureka:
instance:
hostname: ${vcap.application.uris[0]:localhost}
nonSecurePort: 80
metadataMap:
instanceId: ${vcap.application.instance_id:${spring.application.name}:${spring.application.instance_id:${server.port}}}
leaseRenewalIntervalInSeconds: 5
client:
region: default
registryFetchIntervalSeconds: 5
serviceUrl:
defaultZone: ${vcap.services.discovery-service.credentials.uri:http://localhost:8761}/eureka/
You can’t perform that action at this time.