spring: # config: # activate: # on-profile: ${SPRING_PROFILES_ACTIVE:dev} 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} baseurl: "http://92.242.61.23" 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} searchapi: api-key: ${SEARCHAPI_API_KEY:AK1Ph7D22gCBoq7Wuqdnq9j2} reverse-image-url: "https://searchapi.io/api/v1/search" app: email: verification: standart-subject: NO COPY - Подтверждение email адреса standart-address-from: vlad.popovtsev@gmail.com user: Пользователь tarif: demo-price: 0 demo-tokens: 10 demo-max-files-count: 10 demo-disk-size: 100 demo-user-count: 1 start-tokens: 20 start-price: 100 start-max-files-count: 20 start-disk-size: 200 start-user-count: 10 basic-tokens: 30 basic-price: 200 basic-max-files-count: 30 basic-disk-size: 300 basic-user-count: 30 pro-tokens: 40 pro-price: 300 pro-max-files-count: 40 pro-disk-size: 400 pro-user-count: 50 enterprice-tokens: 50 enterprice-price: 400 enterprice-max-files-count: 50 enterprice-disk-size: 500 enterprice-user-count: 80