Skip to content
Snippets Groups Projects
Commit 35ac097f authored by Malte Bauch's avatar Malte Bauch Committed by Neil-Jocelyn Schark
Browse files

Update mongo-express version to v1.0.2

Starting one of the containerlab environments and accessing
mongodb-express with version v0.54.0 resulted in the error
message: `Turn on admin in config.js to view server stats!`

This commit fixes this issue by updating the version of the docker
image to v1.0.2 and setting the correct environment variables for the
container.
parent 55540b8a
Tags
No related merge requests found
Pipeline #185477 passed
This commit is part of merge request !768. Comments created here will be created in the context of that merge request.
......@@ -39,8 +39,7 @@ topology:
- 55055:55055
- 8080:8080
- 40000:40000
cmd:
--config /app/configs/containerlab-gosdn.toml
cmd: --config /app/configs/containerlab-gosdn.toml
mgmt-ipv4: 172.100.0.5
env:
GOSDN_ADMIN_PASSWORD: TestPassword
......@@ -54,8 +53,7 @@ topology:
- ../../artifacts/ssl/gnmi-target:/etc/gnmi-target/ssl
ports:
- 7030:7030
cmd:
start --cert /etc/gnmi-target/ssl/certs/gnmi-target-selfsigned.crt --key /etc/gnmi-target/ssl/private/gnmi-target-selfsigned.key
cmd: start --cert /etc/gnmi-target/ssl/certs/gnmi-target-selfsigned.crt --key /etc/gnmi-target/ssl/private/gnmi-target-selfsigned.key
mgmt-ipv4: 172.100.0.6
plugin-registry:
......@@ -94,24 +92,25 @@ topology:
mongodb-express:
kind: linux
image: mongo-express:0.54.0
image: mongo-express:1.0.2
ports:
- 8081:8081
env:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_AUTH_USERNAME: root
ME_CONFIG_MONGODB_AUTH_PASSWORD: example
ME_CONFIG_MONGODB_SERVER: mongodb
ME_CONFIG_BASICAUTH: "false"
mgmt-ipv4: 172.100.0.14
rabbitmq:
kind: linux
image: rabbitmq:3-management
ports:
- 127.0.0.1:5672:5672
- 127.0.0.1:15672:15672
mgmt-ipv4: 172.100.0.15
kind: linux
image: rabbitmq:3-management
ports:
- 127.0.0.1:5672:5672
- 127.0.0.1:15672:15672
mgmt-ipv4: 172.100.0.15
links:
- endpoints: ["ceos0:eth1","ceos1:eth1"]
- endpoints: ["ceos0:eth2","centos0:eth1"]
- endpoints: ["ceos1:eth2","centos1:eth1"]
- endpoints: ["ceos0:eth1", "ceos1:eth1"]
- endpoints: ["ceos0:eth2", "centos0:eth1"]
- endpoints: ["ceos1:eth2", "centos1:eth1"]
......@@ -8,7 +8,6 @@ mgmt:
topology:
nodes:
plugin-registry:
kind: linux
image: plugin-registry
......@@ -21,8 +20,7 @@ topology:
- 55055:55055
- 8080:8080
- 40000:40000
cmd:
--config /app/configs/containerlab-gosdn.toml
cmd: --config /app/configs/containerlab-gosdn.toml
mgmt-ipv4: 172.100.0.5
env:
GOSDN_ADMIN_PASSWORD: TestPassword
......@@ -38,8 +36,7 @@ topology:
- ../../artifacts/ssl/gnmi-target:/etc/gnmi-target/ssl
ports:
- 7030:7030
cmd:
start --ca_file /etc/gnmi-target/ssl/ca.crt --cert /etc/gnmi-target/ssl/certs/gnmi-target-selfsigned.crt --key /etc/gnmi-target/ssl/private/gnmi-target-selfsigned.key
cmd: start --ca_file /etc/gnmi-target/ssl/ca.crt --cert /etc/gnmi-target/ssl/certs/gnmi-target-selfsigned.crt --key /etc/gnmi-target/ssl/private/gnmi-target-selfsigned.key
mgmt-ipv4: 172.100.0.11
startup-delay: 5
......@@ -52,8 +49,7 @@ topology:
- ../../artifacts/ssl/gnmi-target:/etc/gnmi-target/ssl
ports:
- 7031:7030
cmd:
start --ca_file /etc/gnmi-target/ssl/ca.crt --cert /etc/gnmi-target/ssl/certs/gnmi-target-selfsigned.crt --key /etc/gnmi-target/ssl/private/gnmi-target-selfsigned.key
cmd: start --ca_file /etc/gnmi-target/ssl/ca.crt --cert /etc/gnmi-target/ssl/certs/gnmi-target-selfsigned.crt --key /etc/gnmi-target/ssl/private/gnmi-target-selfsigned.key
mgmt-ipv4: 172.100.0.12
startup-delay: 5
......@@ -81,24 +77,25 @@ topology:
mongodb-express:
kind: linux
image: mongo-express:0.54.0
image: mongo-express:1.0.2
ports:
- 8081:8081
env:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_AUTH_USERNAME: root
ME_CONFIG_MONGODB_AUTH_PASSWORD: example
ME_CONFIG_MONGODB_SERVER: mongodb
ME_CONFIG_BASICAUTH: "false"
mgmt-ipv4: 172.100.0.14
rabbitmq:
kind: linux
image: rabbitmq:3-management
ports:
- 127.0.0.1:5672:5672
- 127.0.0.1:15672:15672
mgmt-ipv4: 172.100.0.15
kind: linux
image: rabbitmq:3-management
ports:
- 127.0.0.1:5672:5672
- 127.0.0.1:15672:15672
mgmt-ipv4: 172.100.0.15
links:
- endpoints: ["gnmi-target-switch0:eth1","gnmi-target-switch1:eth1"]
- endpoints: ["gnmi-target-switch0:eth2","centos0:eth1"]
- endpoints: ["gnmi-target-switch1:eth2","centos1:eth1"]
- endpoints: ["gnmi-target-switch0:eth1", "gnmi-target-switch1:eth1"]
- endpoints: ["gnmi-target-switch0:eth2", "centos0:eth1"]
- endpoints: ["gnmi-target-switch1:eth2", "centos1:eth1"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment