![]() ![]() ![]() Method 2: You can also build an image from the project directory & then run the image. Append the service config to mongo-express. Docker Compose Mongo with Mongo Express Raw docker-compose.yml version: '3. Method 1: You can use the Docker Hub Image by running the following command: docker run -it -rm -p 8081:8081 -network some-network mongo-express.To allow users to connect with Mongo Express Web-based MongoDB admin interface, written with Node.js and express - GitHub - mongo-express/mongo-express: Web-based MongoDB admin interface, written with.AWS Solutions Architect Associate (SAA C02)Ĭontinuous Integration Continuous Delivery (CICD)Ĭost Effective Highly Available Monolithic ArchitectureĪpiVersion : apps/v1 kind : Deployment metadata : name : mongo-express labels : app : mongo-express spec : replicas : 1 selector : matchLabels : app : mongo-express template : metadata : labels : app : mongo-express spec : containers : - name : mongo-express image : mongo-express ports : - containerPort : 8081 env : - name : ME_CONFIG_MONGODB_ADMINUSERNAME valueFrom : secretKeyRef : name : mongodb-secret key : mongo-root-username - name : ME_CONFIG_MONGODB_ADMINPASSWORD valueFrom : secretKeyRef : name : mongodb-secret key : mongo-root-password - name : ME_CONFIG_MONGODB_SERVER valueFrom : configMapKeyRef : name : mongodb-configmap key : database_url External Service ¶ The most popular framework for building restful APIs is Express.
0 Comments
Leave a Reply. |