init
This commit is contained in:
@@ -1,3 +1,55 @@
|
||||
spring:
|
||||
application:
|
||||
name: gorodar-back
|
||||
name: gorodar-back
|
||||
|
||||
datasource:
|
||||
url: jdbc:postgresql://${GORODAR_DB_HOST:localhost}:${GORODAR_DB_PORT:5432}/${GORODAR_DB_NAME:gorodar}
|
||||
username: ${GORODAR_DB_USER:gorodar}
|
||||
password: ${GORODAR_DB_PASSWORD:gorodar}
|
||||
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: validate
|
||||
open-in-view: false
|
||||
properties:
|
||||
hibernate.format_sql: false
|
||||
hibernate.jdbc.time_zone: UTC
|
||||
|
||||
liquibase:
|
||||
change-log: classpath:db/changelog/db.changelog-master.yaml
|
||||
|
||||
security:
|
||||
oauth2:
|
||||
resourceserver:
|
||||
jwt:
|
||||
issuer-uri: ${GORODAR_KEYCLOAK_ISSUER:http://localhost:8081/realms/gorodar}
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 20MB
|
||||
max-request-size: 22MB
|
||||
|
||||
gorodar:
|
||||
keycloak:
|
||||
client-id: gorodar
|
||||
opencv:
|
||||
base-url: ${GORODAR_OPENCV_URL:http://localhost:8000}
|
||||
api-key: ${GORODAR_OPENCV_API_KEY:dev-key}
|
||||
s3:
|
||||
endpoint: ${GORODAR_S3_ENDPOINT:http://localhost:9000}
|
||||
region: ${GORODAR_S3_REGION:ru-central-1}
|
||||
access-key: ${GORODAR_S3_ACCESS_KEY:gorodar}
|
||||
secret-key: ${GORODAR_S3_SECRET_KEY:gorodar-secret}
|
||||
bucket: ${GORODAR_S3_BUCKET:gorodar}
|
||||
path-style-access: true
|
||||
presign-ttl: 1h
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: health,info
|
||||
|
||||
springdoc:
|
||||
swagger-ui:
|
||||
path: /swagger-ui.html
|
||||
|
||||
Reference in New Issue
Block a user