
spring:
  datasource:
    driverclassname: org.mariadb.jdbc.Driver
    url: jdbc:mysql://localhost:3316/local
    username: local
    password: local
    platform: mysql
    initialize: false
    maximum-pool-size: 10
  cloud:
    consul:
      discovery:
        healthCheckPath: ${management.contextPath}/health
        healthCheckInterval: 15s

server:
  port: 8080

mybatis:
  mapper-locations:
    - fr/animenfance/dao/PartenaireDao.xml
  type-aliases-package: fr.animenfance.bean

---
spring:
  profiles: container
  datasource:
    driverclassname: org.mariadb.jdbc.Driver
    url: jdbc:mysql://db:3306/${MYSQL_DATABASE}
    username: ${MYSQL_USER}
    password: ${MYSQL_PASSWORD}
    platform: mysql
    initialize: true
    maximum-pool-size: 10


spring:
  datasource:
    driverclassname: org.mariadb.jdbc.Driver
    url: jdbc:mysql://localhost:3316/local
    username: local
    password: local
    platform: mysql
    initialize: false
    maximum-pool-size: 10

server:
  port: 8080

mybatis:
  mapper-locations:
    - fr/animenfance/dao/PartenaireDao.xml
  type-aliases-package: fr.animenfance.bean

logging:
  level:
    #ROOT: DEBUG
    fr.animenfance: DEBUG

hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 5000

---
spring:
  profiles: container
  datasource:
    driverclassname: org.mariadb.jdbc.Driver
    url: jdbc:mysql://db:3306/${MYSQL_DATABASE}
    username: ${MYSQL_USER}
    password: ${MYSQL_PASSWORD}
    platform: mysql
    initialize: true
    maximum-pool-size: 10

Fix timeout problem with Hystrix.
Fix timeout problem with Hystrix.
