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

Commit 42efedb

Browse files
fix: api-service startup and mongodb connection string propagation
1 parent ffe5663 commit 42efedb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎deploy/docker/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distrib
4444
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
4545

4646
EXPOSE 8080
47-
CMD [ "sh" , "/lowcoder/api-service/entrypoint.sh" ]
47+
CMD [ "/bin/bash" , "/lowcoder/api-service/entrypoint.sh" ]
4848

4949
#############################################################################
5050

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ spring:
1111
mongodb:
1212
authentication-database: admin
1313
auto-index-creation: false
14+
uri: ${LOWCODER_MONGODB_URL:mongodb://localhost:27017/lowcoder?authSource=admin}
1415
redis:
1516
url: ${LOWCODER_REDIS_URL:redis://127.0.0.1:16379}
1617
main:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /