cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect nuxeo docker container to mongodb

Ahmad_Ben_Maall
Star Contributor
Star Contributor

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.

1 ACCEPTED ANSWER

Ahmad_Ben_Maall
Star Contributor
Star Contributor

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

View answer in original post

1 REPLY 1

Ahmad_Ben_Maall
Star Contributor
Star Contributor

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