/ .devcontainer / docker-compose.yaml
docker-compose.yaml
1 version: '3' 2 services: 3 metagpt: 4 build: 5 dockerfile: Dockerfile 6 context: .. 7 volumes: 8 # Update this to wherever you want VS Code to mount the folder of your project 9 - ..:/workspaces:cached 10 networks: 11 - metagpt-network 12 # environment: 13 # MONGO_ROOT_USERNAME: root 14 # MONGO_ROOT_PASSWORD: example123 15 # depends_on: 16 # - mongo 17 # mongo: 18 # image: mongo 19 # restart: unless-stopped 20 # environment: 21 # MONGO_INITDB_ROOT_USERNAME: root 22 # MONGO_INITDB_ROOT_PASSWORD: example123 23 # ports: 24 # - "27017:27017" 25 # networks: 26 # - metagpt-network 27 28 networks: 29 metagpt-network: 30 driver: bridge 31