MongoDB Express zum Compose-Setup hinzugefĆ¼gt
authorKai Moritz <kai@juplo.de>
Thu, 7 Apr 2022 19:40:52 +0000 (21:40 +0200)
committerKai Moritz <kai@juplo.de>
Thu, 7 Apr 2022 23:13:48 +0000 (01:13 +0200)
docker-compose.yml

index 3428d16..5723fc7 100644 (file)
@@ -32,6 +32,15 @@ services:
       MONGO_INITDB_ROOT_USERNAME: juplo
       MONGO_INITDB_ROOT_PASSWORD: training
 
+  express:
+    image: mongo-express
+    ports:
+      - 8090:8081
+    environment:
+      ME_CONFIG_MONGODB_ADMINUSERNAME: juplo
+      ME_CONFIG_MONGODB_ADMINPASSWORD: training
+      ME_CONFIG_MONGODB_URL: mongodb://juplo:training@mongo:27017/
+
   kafka-ui:
     image: provectuslabs/kafka-ui:0.3.3
     ports: