|
|
|
@ -2,31 +2,27 @@
|
|
|
|
server.port = 8080
|
|
|
|
server.port = 8080
|
|
|
|
server.servlet.context-path=/autoflow-server-mgmt
|
|
|
|
server.servlet.context-path=/autoflow-server-mgmt
|
|
|
|
|
|
|
|
|
|
|
|
spring.profiles.active=prod
|
|
|
|
# MariaDB Configuration (K8s 내부 서비스 연결)
|
|
|
|
|
|
|
|
# RDS가 아닌 K8s 내부 MariaDB Pod를 바라보도록 설정
|
|
|
|
# RDS MariaDB Configuration
|
|
|
|
spring.datasource.url=jdbc:mariadb://${DB_HOST:mariadb}:3306/${DB_NAME:appdb}
|
|
|
|
# Replace with your RDS endpoint
|
|
|
|
|
|
|
|
spring.datasource.url=jdbc:mariadb://${RDS_HOSTNAME}:3306/autoflow
|
|
|
|
|
|
|
|
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
|
|
|
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
|
|
|
spring.datasource.username=${RDS_USERNAME}
|
|
|
|
spring.datasource.username=${DB_USERNAME:appuser}
|
|
|
|
spring.datasource.password=${RDS_PASSWORD}
|
|
|
|
spring.datasource.password=${DB_PASSWORD:etriuser}
|
|
|
|
|
|
|
|
|
|
|
|
spring.jpa.database-platform=org.hibernate.dialect.MariaDBDialect
|
|
|
|
spring.jpa.database-platform=org.hibernate.dialect.MariaDBDialect
|
|
|
|
|
|
|
|
# 개발 초기라면 update, 운영 초기라면 none 또는 validate 권장
|
|
|
|
spring.jpa.hibernate.ddl-auto=none
|
|
|
|
spring.jpa.hibernate.ddl-auto=none
|
|
|
|
spring.sql.init.mode=never
|
|
|
|
spring.sql.init.mode=never
|
|
|
|
|
|
|
|
|
|
|
|
# App Properties (JWT) - Should be injected via env variables in K8s
|
|
|
|
# App Properties (JWT)
|
|
|
|
cuuva.app.jwtCookieName=cuuva-jwt
|
|
|
|
cuuva.app.jwtCookieName=cuuva-jwt
|
|
|
|
cuuva.app.jwtRefreshCookieName=cuuva-jwt-refresh
|
|
|
|
cuuva.app.jwtRefreshCookieName=cuuva-jwt-refresh
|
|
|
|
cuuva.app.jwtSecret=${JWT_SECRET}
|
|
|
|
cuuva.app.jwtSecret=${JWT_SECRET}
|
|
|
|
|
|
|
|
|
|
|
|
# Storage Provider (S3)
|
|
|
|
# Storage Provider (S3)
|
|
|
|
storage.provider=s3
|
|
|
|
storage.provider=minio
|
|
|
|
cloud.aws.region.static=ap-northeast-2
|
|
|
|
cloud.aws.region.static=ap-northeast-2
|
|
|
|
cloud.aws.s3.bucket=${S3_BUCKET_NAME}
|
|
|
|
cloud.aws.s3.bucket=${S3_BUCKET_NAME}
|
|
|
|
# IAM Role should be used instead of hardcoded keys in EKS
|
|
|
|
|
|
|
|
# cloud.aws.credentials.access-key=${AWS_ACCESS_KEY}
|
|
|
|
|
|
|
|
# cloud.aws.credentials.secret-key=${AWS_SECRET_KEY}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Swagger UI
|
|
|
|
# Swagger UI
|
|
|
|
springdoc.swagger-ui.path=/swagger-ui
|
|
|
|
springdoc.swagger-ui.path=/swagger-ui
|
|
|
|
|