Skip to content

Commit c6c2d0d

Browse files
committed
new: added email notifications environment variables to compose files
1 parent 91ffd77 commit c6c2d0d

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

deploy/docker/docker-compose-multi.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ services:
6060
#
6161
LOWCODER_API_KEY_SECRET: "5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b"
6262
LOWCODER_WORKSPACE_MODE: SAAS
63+
# Lowcoder notification emails setup
64+
LOWCODER_ADMIN_SMTP_HOST: smtp.gmail.com
65+
LOWCODER_ADMIN_SMTP_PORT: 587
66+
LOWCODER_ADMIN_SMTP_USERNAME:
67+
LOWCODER_ADMIN_SMTP_PASSWORD:
68+
LOWCODER_ADMIN_SMTP_AUTH: true
69+
LOWCODER_ADMIN_SMTP_SSL_ENABLED: false
70+
LOWCODER_ADMIN_SMTP_STARTTLS_ENABLED: true
71+
LOWCODER_ADMIN_SMTP_STARTTLS_REQUIRED: true
72+
# Email used as sender in lost password email
73+
LOWCODER_EMAIL_NOTIFICATIONS_SENDER: info@localhost
6374
restart: unless-stopped
6475
depends_on:
6576
- mongodb

deploy/docker/docker-compose.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ services:
1212
- "3443:3443"
1313
# - "27017:27017"
1414
environment:
15+
# Public base url
16+
LOWCODER_PUBLIC_URL: "http://localhost:3000/"
1517
# enable services
1618
LOWCODER_REDIS_ENABLED: "true"
1719
LOWCODER_MONGODB_ENABLED: "true"
@@ -59,6 +61,17 @@ services:
5961
LOWCODER_MAX_REQUEST_SIZE: 20m
6062
LOWCODER_MAX_QUERY_TIMEOUT: 120
6163
LOWCODER_WORKSPACE_MODE: SAAS
64+
# Lowcoder notification emails setup
65+
LOWCODER_ADMIN_SMTP_HOST: smtp.gmail.com
66+
LOWCODER_ADMIN_SMTP_PORT: 587
67+
LOWCODER_ADMIN_SMTP_USERNAME:
68+
LOWCODER_ADMIN_SMTP_PASSWORD:
69+
LOWCODER_ADMIN_SMTP_AUTH: true
70+
LOWCODER_ADMIN_SMTP_SSL_ENABLED: false
71+
LOWCODER_ADMIN_SMTP_STARTTLS_ENABLED: true
72+
LOWCODER_ADMIN_SMTP_STARTTLS_REQUIRED: true
73+
# Email used as sender in lost password email
74+
LOWCODER_EMAIL_NOTIFICATIONS_SENDER: info@localhost
6275
volumes:
6376
- ./lowcoder-stacks:/lowcoder-stacks
6477
- ./lowcoder-stacks/assets:/lowcoder/assets

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ common:
8484
marketplace:
8585
private-mode: ${LOWCODER_MARKETPLACE_PRIVATE_MODE:true}
8686
lowcoder-public-url: ${LOWCODER_PUBLIC_URL:http://localhost:8080}
87-
notifications-email-sender: ${LOWCODER_LOST_PASSWORD_EMAIL_SENDER:info@lowcoder.org}
87+
notifications-email-sender: ${LOWCODER_EMAIL_NOTIFICATIONS_SENDER:info@localhost}
8888

8989
material:
9090
mongodb-grid-fs:

0 commit comments

Comments
 (0)