How to connect nuxeo docker container to mongodb

Hello, I try to run a nuxeo docker container with mongodb using the following command:

docker run –name mynuxeo -p 8080:8080 -e NUXEO_DB_HOST=“mongodb://192.168.43.43” -e NUXEO_DB_TYPE=“mongodb” nuxeo

This command return the next error:

Could not run configuration: Unable to connect to MongoDB at localhost:27017, please check your connection

Any ideas please.

0 votes

1 answers

1270 views

ANSWER



You should use NUXEO_CUSTOM_PARAM=nuxeo.mongodb.server=mongodb://192.168.43.43

0 votes