spring: mail: host: smtp.gmail.com port: 587 username: vlad.popovtsev@gmail.com password: gocjwvrqrzlaatsr properties: mail: smtp: auth: true starttls: enable: true # mail: # host: postfix # port: 25 # username: noreply@nocopy.com # password: nocopy!nocopy! # properties: # mail.smtp.auth: false # mail.smtp.starttls.enable: false # mail.debug: true flyway: enabled: true baseline-on-migrate: true datasource: url: jdbc:postgresql://${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB} username: ${POSTGRES_USER} password: ${POSTGRES_PASSWORD} driver-class-name: org.postgresql.Driver jpa: hibernate: ddl-auto: update show-sql: true properties: hibernate: dialect: org.hibernate.dialect.PostgreSQLDialect format_sql: true servlet: multipart: max-file-size: 10MB max-request-size: 100MB enabled: true resolve-lazily: false file: storage: base-path: ${FILE_STORAGE_PATH:/data/uploads} chunk-size: ${FILE_CHUNK_SIZE:1000000} # 1MB max-file-size: ${MAX_FILE_SIZE:10737418240} # 10GB max-retry-attempts: ${MAX_RETRY_ATTEMPTS:3} chunk-timeout-ms: ${CHUNK_TIMEOUT_MS:300000} # 5 минут temp-ttl-hours: ${TEMP_TTL_HOURS:72} # 3 дня auth-token-life-hours: ${AUTH_TOKEN_LIFE:1} # 1 час session-expiry-hours: ${SESSION_EXPIRY_HOURS:24} security: cors: allowed-origins: "*" allowed-methods: GET,POST,PUT,DELETE,OPTIONS allowed-headers: "*" allow-credentials: true server: port: ${SERVER_PORT:8080} logging: level: com.example.fileupload: DEBUG org.springframework.web: DEBUG org.hibernate.SQL: DEBUG file: name: logs/application.log pattern: console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n" yandex: api-key: ${YANDEX_API_KEY:AQVNyaVaUmgUb1GMCtf5zSEqFxy0woXrcMOOB43q} folder-id: ${YANDEX_FOLDER_ID:b1gokpdbm6qfpsou8pcd} search-url: ${YANDEX_SEARCH_URL:https://searchapi.api.cloud.yandex.net/v2/image/search_by_image} app: email: verification: standart-subject: NO COPY - Подтверждение email адреса standart-address-from: NO COPY user: Пользователь