Skip to content

Commit

Permalink
fix: correct container port, prod config
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed May 30, 2024
1 parent 9d714a4 commit 05cfae7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ COPY package-lock.json package-lock.json
COPY --chown=node:node . $APP_HOME
COPY --chown=node:node --from=build $APP_HOME/lib $APP_HOME/lib

EXPOSE 50051
EXPOSE 389

USER node

Expand Down
2 changes: 1 addition & 1 deletion cfg/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"ldap": {
"host": "0.0.0.0",
"port": 1389,
"port": 389,
"tls": {
"certificate": "",
"key": ""
Expand Down
23 changes: 23 additions & 0 deletions cfg/config_production.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"logger": {
"elasticsearch": {
"level": "error",
"clientOpts": {
"node": "http://elasticsearch:9200"
},
"dataStream": true,
"source": "ldap-srv"
},
"console": {
"handleExceptions": false,
"level": "silly",
"colorize": true,
"prettyPrint": true
}
},
"client": {
"user": {
"address": "identity-srv:50051"
}
}
}

0 comments on commit 05cfae7

Please sign in to comment.