File tree Expand file tree Collapse file tree 22 files changed +66
-139
lines changed Expand file tree Collapse file tree 22 files changed +66
-139
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends gosu \
37
37
COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder/api-service /lowcoder/api-service
38
38
39
39
# Copy lowcoder api service app, dependencies and libs
40
- COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/app /lowcoder/api-service/app
41
- COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/dependencies /lowcoder/api-service/dependencies
40
+ COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/lowcoder-api-service.jar /lowcoder/api-service/lowcoder-api-service.jar
42
41
COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/libs /lowcoder/api-service/libs
43
42
COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/plugins /lowcoder/api-service/plugins
44
- COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/set-classpath.sh /lowcoder/api-service/set-classpath.sh
45
43
46
44
EXPOSE 8080
47
45
CMD [ "/bin/bash" , "/lowcoder/api-service/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ echo "Initializing api-service..."
12
12
if [ -z $JAVA_HOME ]; then
13
13
JAVA_HOME=` dirname $( dirname $( readlink -f $( which javac) ) ) `
14
14
fi ;
15
- APP_JAR=" ${APP_JAR:=/ lowcoder/ api-service/ server .jar} "
15
+ APP_JAR=" ${APP_JAR:=/ lowcoder/ api-service/ lowcoder-api-service .jar} "
16
16
JAVA_OPTS=" ${JAVA_OPTS:= } "
17
17
CUSTOM_APP_PROPERTIES=" ${APP_PROPERTIES} "
18
18
CONTEXT_PATH=${CONTEXT_PATH:=/ }
@@ -27,7 +27,6 @@ ${JAVA_HOME}/bin/java -version
27
27
echo
28
28
29
29
cd /lowcoder/api-service
30
- source set-classpath.sh
31
30
32
31
exec gosu ${USER_ID} :${GROUP_ID} ${JAVA_HOME} /bin/java \
33
32
-Djava.util.prefs.userRoot=/tmp \
@@ -36,7 +35,6 @@ exec gosu ${USER_ID}:${GROUP_ID} ${JAVA_HOME}/bin/java \
36
35
-Dlog4j2.formatMsgNoLookups=true \
37
36
-Dspring.config.location=" file:///lowcoder/api-service/config/application.yaml" \
38
37
--add-opens java.base/java.nio=ALL-UNNAMED \
39
- -cp " ${LOWCODER_CLASSPATH:= .} " \
40
38
${JAVA_OPTS} \
41
- org.lowcoder.api.ServerApplication --spring.webflux.base-path=${CONTEXT_PATH} ${CUSTOM_APP_PROPERTIES}
39
+ -jar ${APP_JAR} --spring.webflux.base-path=${CONTEXT_PATH} ${CUSTOM_APP_PROPERTIES}
42
40
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
</parent >
10
10
11
11
<modelVersion >4.0.0</modelVersion >
12
+ <groupId >org.lowcoder.plugins</groupId >
12
13
<artifactId >clickHousePlugin</artifactId >
13
14
<packaging >jar</packaging >
14
15
Original file line number Diff line number Diff line change 9
9
</parent >
10
10
11
11
<modelVersion >4.0.0</modelVersion >
12
+ <groupId >org.lowcoder.plugins</groupId >
12
13
<artifactId >elasticSearchPlugin</artifactId >
13
14
14
15
<name >elasticSearchPlugin</name >
Original file line number Diff line number Diff line change 9
9
</parent >
10
10
11
11
<modelVersion >4.0.0</modelVersion >
12
+ <groupId >org.lowcoder.plugins</groupId >
12
13
<artifactId >googleSheetsPlugin</artifactId >
13
14
14
15
<name >googleSheetsPlugin</name >
Original file line number Diff line number Diff line change 9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
12
+ <groupId >org.lowcoder.plugins</groupId >
12
13
<artifactId >lowcoderApiPlugin</artifactId >
13
14
14
15
<properties >
Original file line number Diff line number Diff line change 9
9
</parent >
10
10
11
11
<modelVersion >4.0.0</modelVersion >
12
+ <groupId >org.lowcoder.plugins</groupId >
12
13
<artifactId >mongoPlugin</artifactId >
13
14
14
15
<name >mongoPlugin</name >
Original file line number Diff line number Diff line change 9
9
</parent >
10
10
11
11
<modelVersion >4.0.0</modelVersion >
12
+ <groupId >org.lowcoder.plugins</groupId >
12
13
<artifactId >mssqlPlugin</artifactId >
13
14
14
15
<name >mssqlPlugin</name >
You can’t perform that action at this time.
0 commit comments