Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1a51d29

Browse files
committed
new: add mountpoints and port mappings to multi compose
1 parentb9c42b5 commit1a51d29

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

‎deploy/docker/docker-compose-multi.yaml‎

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,34 @@ services:
55
## Start services required for Lowcoder (MongoDB and Redis)
66
##
77
mongodb:
8-
image:"mongo:4.4"
8+
image:"mongo:7.0.1"
99
container_name:mongodb
10+
restart:unless-stopped
11+
# Enabled ports to be able to access mongodb from host
12+
# ports:
13+
# - "27017:27017"
1014
environment:
1115
MONGO_INITDB_DATABASE:lowcoder
1216
MONGO_INITDB_ROOT_USERNAME:lowcoder
1317
MONGO_INITDB_ROOT_PASSWORD:secret123
14-
# Uncomment to save database data into local 'mongodata' folder
15-
# volumes:
16-
# - ./mongodata:/data/db
17-
restart:unless-stopped
18+
volumes:
19+
-./lowcoder-stacks/data/mongodb:/data/db
1820

1921
redis:
2022
image:redis:7-alpine
2123
container_name:redis
22-
24+
restart:unless-stopped
25+
# Enabled ports to be able to access redis from host
26+
# ports:
27+
# - "6379:6379"
2328

2429
##
2530
## Start Lowcoder backend services (api-service and node-service)
2631
##
2732
lowcoder-api-service:
2833
image:lowcoderorg/lowcoder-ce-api-service:latest
2934
container_name:lowcoder-api-service
35+
restart:unless-stopped
3036
# Enabled ports to be able to access backend from host
3137
# ports:
3238
# - "8080:8080"
@@ -61,32 +67,34 @@ services:
6167
LOWCODER_API_KEY_SECRET:"5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b"
6268
LOWCODER_WORKSPACE_MODE:SAAS
6369
# Lowcoder notification emails setup
64-
LOWCODER_ADMIN_SMTP_HOST:smtp.gmail.com
70+
LOWCODER_ADMIN_SMTP_HOST:localhost
6571
LOWCODER_ADMIN_SMTP_PORT:587
66-
LOWCODER_ADMIN_SMTP_USERNAME:
72+
LOWCODER_ADMIN_SMTP_USERNAME:info@localhost
6773
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
74+
LOWCODER_ADMIN_SMTP_AUTH:"true"
75+
LOWCODER_ADMIN_SMTP_SSL_ENABLED:"false"
76+
LOWCODER_ADMIN_SMTP_STARTTLS_ENABLED:"true"
77+
LOWCODER_ADMIN_SMTP_STARTTLS_REQUIRED:"true"
7278
# Email used as sender in lost password email
7379
LOWCODER_EMAIL_NOTIFICATIONS_SENDER:info@localhost
74-
restart:unless-stopped
80+
volumes:
81+
-./lowcoder-stacks/data/mongodb:/data/db
82+
-./lowcoder-stacks/assets:/lowcoder/assets
7583
depends_on:
7684
-mongodb
7785
-redis
7886

7987
lowcoder-node-service:
8088
image:lowcoderorg/lowcoder-ce-node-service:latest
8189
container_name:lowcoder-node-service
90+
restart:unless-stopped
8291
# Enabled ports to be able to access backend from host
8392
# ports:
8493
# - "6060:6060"
8594
environment:
8695
LOWCODER_PUID:"9001"
8796
LOWCODER_PGID:"9001"
8897
LOWCODER_API_SERVICE_URL:"http://lowcoder-api-service:8080"
89-
restart:unless-stopped
9098
depends_on:
9199
-lowcoder-api-service
92100

@@ -96,6 +104,7 @@ services:
96104
lowcoder-frontend:
97105
image:lowcoderorg/lowcoder-ce-frontend:latest
98106
container_name:lowcoder-frontend
107+
restart:unless-stopped
99108
ports:
100109
-"3000:3000"
101110
environment:
@@ -105,11 +114,9 @@ services:
105114
LOWCODER_MAX_QUERY_TIMEOUT:120
106115
LOWCODER_API_SERVICE_URL:"http://lowcoder-api-service:8080"
107116
LOWCODER_NODE_SERVICE_URL:"http://lowcoder-node-service:6060"
108-
restart:unless-stopped
109117
depends_on:
110118
-lowcoder-node-service
111119
-lowcoder-api-service
112-
# Uncomment to serve local files as static assets
113-
# volumes:
114-
# - ./static-assets:/lowcoder/assets
120+
volumes:
121+
-./lowcoder-stacks/assets:/lowcoder/assets
115122

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp