NCBACK-33 add email send
Test Workflow / test (push) Successful in 2s

This commit is contained in:
vladp
2026-01-19 19:26:59 +07:00
parent 4704f780e5
commit 4a8e561258
6 changed files with 62 additions and 258 deletions
+7 -20
View File
@@ -1,15 +1,13 @@
spring:
mail:
host: smtp.gmail.com
port: 587
username: vlad.popovtsev@gmail.com
password: aylgtjcxdtjvohrk
host: postfix
port: 25
username: noreply@nocopy.com
password: nocopy!nocopy!
properties:
mail:
smtp:
auth: true
starttls:
enable: true
mail.smtp.auth: false
mail.smtp.starttls.enable: false
mail.debug: true
datasource:
url: jdbc:postgresql://${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
@@ -36,8 +34,6 @@ spring:
file:
storage:
base-path: ${FILE_STORAGE_PATH:/data/uploads}
# chunk-size: ${FILE_CHUNK_SIZE:5242880} # 5MB
# chunk-size: ${FILE_CHUNK_SIZE:1048576} # 1MB
chunk-size: ${FILE_CHUNK_SIZE:1000000} # 1MB
max-file-size: ${MAX_FILE_SIZE:10737418240} # 10GB
max-retry-attempts: ${MAX_RETRY_ATTEMPTS:3}
@@ -69,12 +65,3 @@ 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:
expiration-hours: ${EMAIL_VERIFICATION_EXPIRATION:24}
base-url: ${EMAIL_BASE_URL:http://localhost:80}
from-email: ${EMAIL_FROM:noreply@yourdomain.com}
templates:
verification: verification-email.html