You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy/docker/Dockerfile
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@
3
3
##
4
4
FROM eclipse-temurin:17-jdk-jammy AS jre-build
5
5
RUN jlink --add-modules java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.management.rmi,java.naming,java.net.http,java.prefs,java.rmi,java.scripting,java.se,java.security.jgss,java.security.sasl,java.smartcardio,java.sql,java.sql.rowset,java.transaction.xa,java.xml,java.xml.crypto,jdk.accessibility,jdk.charsets,jdk.crypto.cryptoki,jdk.crypto.ec,jdk.dynalink,jdk.httpserver,jdk.incubator.foreign,jdk.incubator.vector,jdk.internal.vm.ci,jdk.jdwp.agent,jdk.jfr,jdk.jsobject,jdk.localedata,jdk.management,jdk.management.agent,jdk.management.jfr,jdk.naming.dns,jdk.naming.rmi,jdk.net,jdk.nio.mapmode,jdk.sctp,jdk.security.auth,jdk.security.jgss,jdk.unsupported,jdk.xml.dom,jdk.zipfs,jdk.attach \
Copy file name to clipboardExpand all lines: docs/self-hosting/README.md
+44-24Lines changed: 44 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ Also, for developers in need of stateless containers in cluster environment, we
10
10
11
11
### Prerequisites
12
12
13
-
*[Docker](https://docs.docker.com/get-docker/) (version 20.10.7 or above)
14
-
*[Docker-Compose](https://docs.docker.com/compose/install/) (version 1.29.2 or above)
13
+
-[Docker](https://docs.docker.com/get-docker/) (version 20.10.7 or above)
14
+
-[Docker-Compose](https://docs.docker.com/compose/install/) (version 1.29.2 or above)
15
15
16
16
{% hint style="info" %}
17
17
Recommended system spec: 1-core CPU and 2 GB RAM.
@@ -35,10 +35,13 @@ Follow the steps below:
35
35
1. Download the configuration file by clicking [docker-compose.yml](https://raw.githubusercontent.com/lowcoder-org/lowcoder/main/deploy/docker/docker-compose.yaml) or running the curl command: 
4. Visit [**http://localhost:3000**](http://localhost:3000) and click **Sign up**. Lowcoder will automatically create a workspace for you, then you can start building your apps and invite members to your workspace.
For developers who require stateless containers in a cluster environment, we offer separate images of backend and frontend service with a customizable Dockerfile. A well-functioning Lowcoder deployment consists of below services:
112
119
113
-
***api-service**: Backend service.
114
-
***node-service**: Backend service.
115
-
***frontend**: Frontend service.
116
-
***MongoDB**: Used for persisting data of users, apps, data sources, etc.
117
-
***Redis**: Used for maintaining user sessions, rate limiter, etc.
120
+
-**api-service**: Backend service.
121
+
-**node-service**: Backend service.
122
+
-**frontend**: Frontend service.
123
+
-**MongoDB**: Used for persisting data of users, apps, data sources, etc.
124
+
-**Redis**: Used for maintaining user sessions, rate limiter, etc.
118
125
119
126
### Prerequisites
120
127
121
-
* [Docker-Compose](https://docs.docker.com/compose/install/) (version 1.29.2 or above)
128
+
- [Docker-Compose](https://docs.docker.com/compose/install/) (version 1.29.2 or above)
122
129
123
130
### Deploy
124
131
@@ -128,24 +135,28 @@ For developers who require stateless containers in a cluster environment, we off
128
135
mkdir openblocks
129
136
cd openblocks
130
137
```
138
+
131
139
2. Download the configuration file by clicking [docker-compose-multi.yml](https://raw.githubusercontent.com/lowcoder-org/lowcoder/main/deploy/docker/docker-compose-multi.yaml) or running the curl command:
***mongodb**: Start a new MongoDB instance on your host. You can delete this part and modify the environment variable `MONGODB_URL` of **openblocks-api-service** to use your own MongoDB.
140
-
***redis**: Start a new Redis instance on your host. You can delete this part and modify the environment variable `REDIS_URL` of **openblocks-api-service** to use your own Redis.
141
-
***openblocks-api-service**: Required. 
142
-
***openblocks-node-service**: Required.
143
-
***openblocks-frontend**: Required. Can be optional if you deploy frontend on CDN.
148
+
- **mongodb**: Start a new MongoDB instance on your host. You can delete this part and modify the environment variable `MONGODB_URL` of **openblocks-api-service** to use your own MongoDB.
149
+
- **redis**: Start a new Redis instance on your host. You can delete this part and modify the environment variable `REDIS_URL` of **openblocks-api-service** to use your own Redis.
150
+
- **openblocks-api-service**: Required. 
151
+
- **openblocks-node-service**: Required.
152
+
- **openblocks-frontend**: Required. Can be optional if you deploy frontend on CDN.
153
+
144
154
4. Start Docker containers by running this command:
145
155
146
156
```bash
147
157
docker-compose -f docker-compose-multi.yml up -d
148
158
```
159
+
149
160
5. Visit [**http://localhost:3000**](http://localhost:3000) and click **Sign up**. Lowcoder will automatically create a workspace for you, then you can start building your apps and invite members to your workspace.
0 commit comments