๐Ÿ“ฆ chaokunyang / microservices-event-sourcing

๐Ÿ“„ application.yml ยท 33 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33spring:
  profiles:
    active: dev
---
spring:
  profiles: dev
  jpa:
    properties:
      hibernate:
        hbm2ddl:
          auto: update
    # disable open EntityManager in View
    open-in-view: false
  datasource:
    url: jdbc:mysql://localhost:3306/time_store_user?useUnicode=true&characterEncoding=utf-8
    username: time
    password: 123456
    driver-class-name: com.mysql.jdbc.Driver
  redis:
      host: localhost
      port: 6379
server:
  port: 8181
  # The context path has to be explicit if you are running both the client and the auth server on localhost, otherwise the cookie paths clash and the two apps cannot agree on a session identifier.
  contextPath: /auth
security:
  user:
    password: password
  enable-csrf: false
  ignored: /assets/**
logging.level.org.springframework.security: DEBUG