使用docker-compose部署mongo和mongo-express
docker-compose.yml
version: '3.8'
# 使用外部网络
# docker network create server_web-network
networks:
server_web-network:
external: true
services:
docker-mongo:
image: mongo:5.0.5
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: roo...