@@ -5,20 +5,20 @@ services:
55 # # Start services required for Lowcoder (MongoDB and Redis)
66 # #
77 mongodb :
8- image : " mongo:4.4 "
8+ image : " mongo:7.0 "
99 container_name : mongodb
1010 environment :
1111 MONGO_INITDB_DATABASE : lowcoder
1212 MONGO_INITDB_ROOT_USERNAME : lowcoder
1313 MONGO_INITDB_ROOT_PASSWORD : secret123
14- # Uncomment to save database data into local 'mongodata' folder
15- # volumes:
16- # - ./mongodata:/data/db
14+ volumes :
15+ - ./lowcoder-stacks/data/mongodb:/data/db
1716 restart : unless-stopped
1817
1918 redis :
2019 image : redis:7-alpine
2120 container_name : redis
21+ restart : unless-stopped
2222
2323
2424 # #
@@ -31,12 +31,14 @@ services:
3131 # ports:
3232 # - "8080:8080"
3333 environment :
34+ LOWCODER_PUBLIC_URL : " http://localhost:3000/"
3435 LOWCODER_PUID : " 9001"
3536 LOWCODER_PGID : " 9001"
3637 LOWCODER_MONGODB_URL : " mongodb://lowcoder:secret123@mongodb/lowcoder?authSource=admin"
3738 LOWCODER_REDIS_URL : " redis://redis:6379"
3839 LOWCODER_NODE_SERVICE_URL : " http://lowcoder-node-service:6060"
3940 LOWCODER_MAX_QUERY_TIMEOUT : 120
41+ LOWCODER_MAX_REQUEST_SIZE : 20m
4042 LOWCODER_EMAIL_AUTH_ENABLED : " true"
4143 LOWCODER_EMAIL_SIGNUP_ENABLED : " true"
4244 LOWCODER_CREATE_WORKSPACE_ON_SIGNUP : " true"
@@ -59,22 +61,33 @@ services:
5961 # - on linux/mac, generate one eg. with: head /dev/urandom | head -c 30 | shasum -a 256
6062 #
6163 LOWCODER_API_KEY_SECRET : " 5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b"
64+ LOWCODER_PLUGINS_DIR : " ../plugins"
65+ LOWCODER_API_RATE_LIMIT : 50
6266 LOWCODER_WORKSPACE_MODE : SAAS
67+ LOWCODER_MARKETPLACE_PRIVATE_MODE : " true"
6368 # Lowcoder notification emails setup
6469 LOWCODER_ADMIN_SMTP_HOST : smtp.gmail.com
6570 LOWCODER_ADMIN_SMTP_PORT : 587
6671 LOWCODER_ADMIN_SMTP_USERNAME :
6772 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
73+ LOWCODER_ADMIN_SMTP_AUTH : " true"
74+ LOWCODER_ADMIN_SMTP_SSL_ENABLED : " false"
75+ LOWCODER_ADMIN_SMTP_STARTTLS_ENABLED : " true"
76+ LOWCODER_ADMIN_SMTP_STARTTLS_REQUIRED : " true"
7277 # Email used as sender in lost password email
7378 LOWCODER_EMAIL_NOTIFICATIONS_SENDER : info@localhost
79+ # Lowcoder superuser details
80+ LOWCODER_SUPERUSER_USERNAME : admin@localhost
81+ # If left blank, a password will be generated and written into api-service log
82+ LOWCODER_SUPERUSER_PASSWORD :
7483 restart : unless-stopped
7584 depends_on :
7685 - mongodb
7786 - redis
87+ volumes :
88+ - ./lowcoder-stacks:/lowcoder-stacks
89+ - ./lowcoder-stacks/assets:/lowcoder/assets
90+
7891
7992 lowcoder-node-service :
8093 image : lowcoderorg/lowcoder-ce-node-service:latest
@@ -109,7 +122,6 @@ services:
109122 depends_on :
110123 - lowcoder-node-service
111124 - lowcoder-api-service
112- # Uncomment to serve local files as static assets
113- # volumes:
114- # - ./static-assets:/lowcoder/assets
125+ volumes :
126+ - ./lowcoder-stacks/assets:/lowcoder/assets
115127
0 commit comments