Skip to content

Commit cc90511

Browse files
committed
fix: disable mail health check
1 parent 2e0c701 commit cc90511

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

deploy/docker/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ services:
6262
LOWCODER_MAX_QUERY_TIMEOUT: 120
6363
LOWCODER_WORKSPACE_MODE: SAAS
6464
# Lowcoder notification emails setup
65-
LOWCODER_ADMIN_SMTP_HOST: smtp.gmail.com
65+
LOWCODER_ADMIN_SMTP_HOST: localhost
6666
LOWCODER_ADMIN_SMTP_PORT: 587
6767
LOWCODER_ADMIN_SMTP_USERNAME:
6868
LOWCODER_ADMIN_SMTP_PASSWORD:

server/api-service/lowcoder-server/src/main/resources/application.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ spring:
2222
webflux:
2323
base-path: /
2424
mail:
25-
host: ${LOWCODER_ADMIN_SMTP_HOST:smtp.gmail.com}
25+
host: ${LOWCODER_ADMIN_SMTP_HOST:localhost}
2626
port: ${LOWCODER_ADMIN_SMTP_PORT:587}
27-
username: ${LOWCODER_ADMIN_SMTP_USERNAME:yourmail@gmail.com}
28-
password: ${LOWCODER_ADMIN_SMTP_PASSWORD:yourpass}
27+
username: ${LOWCODER_ADMIN_SMTP_USERNAME:info@localhost}
28+
password: ${LOWCODER_ADMIN_SMTP_PASSWORD:s3cr3t}
2929
properties:
3030
mail:
3131
smtp:
@@ -83,7 +83,7 @@ common:
8383
password: ${LOWCODER_SUPERUSER_PASSWORD:}
8484
marketplace:
8585
private-mode: ${LOWCODER_MARKETPLACE_PRIVATE_MODE:true}
86-
lowcoder-public-url: ${LOWCODER_PUBLIC_URL:http://localhost:8080}
86+
lowcoder-public-url: ${LOWCODER_PUBLIC_URL:http://localhost:3000}
8787
notifications-email-sender: ${LOWCODER_EMAIL_NOTIFICATIONS_SENDER:info@localhost}
8888

8989
material:
@@ -96,3 +96,8 @@ springdoc:
9696
swagger-ui:
9797
path: /api/docs/swagger-ui
9898
paths-to-exclude: /api/v1/**
99+
100+
management:
101+
health:
102+
mail:
103+
enabled: false

0 commit comments

Comments
 (0)