This is Docker Ulbora Mongo running on Debian
1.5K
This is Docker Ulbora Mongo running on Debian
docker run -v /data/db:/data/db -v /databackup:/databackup --name \
ulboramongo -d ulboralabs/ulboracms-mongo
docker exec -it ulboramongo bash /db.sh
If you restore this database, log in with: user=admin password=admin Make sure to change the password as soon as you finish the installation.
user=admin password=admin Make sure to change the password as soon as you finish the installation.
docker run --name some-ulboracms-web-app \
--link some-mongodb-container-name:mongo --env DOCKER_ULBORACMS_DATABASE_NAME=ulboracmsdb -d ulboralabs/ulboracms sh
The :mongo is an alias that produces an environment variable named MONGO_PORT_27017_TCP_ADDR inside the web container. If :mongo were to be changed to :mongodb, then the environment variable would be named MONGODB_PORT_27017_TCP_ADDR and Ulbora CMS would not connect the the mongo database. Ulbora CMS needs the environment variable to be named MONGO_PORT_27017_TCP_ADDR.
Also notice that we do not start the mongo container and expose port 27017 by using -p 27017:27017. Doing so would expose the container outside of Docker and would require additional security. If you start the mongo container with -p 27017:27017, make sure to follow the Docker guidelines on securing the container.
docker exec -it ulboralabs/ulboracms-mongodb bash
Content type
Image
Digest
Size
100 MB
Last updated
over 10 years ago
docker pull ulboralabs/ulboracms-mongo