diff --git a/react-aspnet-mongodb/compose.yaml b/react-aspnet-mongodb/compose.yaml index 76a7095..d5109ad 100644 --- a/react-aspnet-mongodb/compose.yaml +++ b/react-aspnet-mongodb/compose.yaml @@ -21,6 +21,8 @@ services: - 8000:8000 depends_on: - mongo + links: + - mongo environment: - ASPNETCORE_URLS=http://+:8000 - EnableSwagger=true @@ -36,6 +38,21 @@ services: networks: - react-backend + mongo-express: + image: mongo-express + restart: always + ports: + - 8081:8081 + environment: + ME_CONFIG_MONGODB_ADMINUSERNAME: root + ME_CONFIG_MONGODB_ADMINPASSWORD: example + depends_on: + - mongo + links: + - mongo + networks: + - react-backend + networks: react-backend: {} react-frontend: {}