spring: application: name: "user-api" main: banner-mode: "off" --- spring: profiles: local # Disable Cloud Configuration and Discovery Service # spring.cloud.config.enabled: false eureka.client.enabled: false --- spring: profiles: local, dev # Create H2 Database # datasource: url: jdbc:h2:mem:userDB driverClassName: org.h2.Driver username: sa password: password jpa.databasePlatform: org.hibernate.dialect.H2Dialect datasource.data: classpath:/data/schema.sql, classpath:/data/person.sql --- spring: profiles: dev cloud: config: uri: http://localhost:8080 --- spring: profiles: prod cloud: config: uri: ${config.server.url}