-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yaml
More file actions
58 lines (51 loc) · 1.37 KB
/
application.yaml
File metadata and controls
58 lines (51 loc) · 1.37 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
spring:
config:
import:
- optional:file:.env[.properties]
- optional:file:.env.local[.properties]
application:
name: core-service
jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
transaction:
jta:
platform: org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform
datasource:
url: ${DB_URL:jdbc:postgresql://localhost:5432/core_db}
username: ${DB_USERNAME:core_user}
password: ${DB_PASSWORD:core_password}
security:
oauth2:
resourceserver:
jwt:
issuer-uri: ${JWT_ISSUER_URI}
rabbitmq:
host: ${RABBITMQ_HOST:localhost}
port: ${RABBITMQ_PORT:5672}
username: ${RABBITMQ_USERNAME:guest}
password: ${RABBITMQ_PASSWORD:guest}
servlet:
multipart:
max-file-size: 20MB
max-request-size: 50MB
server:
port: ${SERVER_PORT:8088}
eureka:
client:
service-url:
defaultZone: ${EUREKA_DEFAULT_ZONE:http://localhost:8761/eureka/}
instance:
instance-id: ${spring.application.name}:${random.value}
prefer-ip-address: ${EUREKA_PREFER_IP:true}
logging:
file:
path: ./logs
minio:
url: ${MINIO_URL:http://localhost:9000}
access-key: ${MINIO_ACCESS_KEY:admin}
secret-key: ${MINIO_SECRET_KEY:password123}
bucket: ${MINIO_BUCKET:profile-images}