db 仅在特定环境中提供服务(在我的情况下为“测试”)?
db
我现在所拥有的如下所示。。。“有效”是指当我们在开发中运行时 分贝 分贝 分贝 在开发中运行时。
分贝
version: '3' services: web: build: . ports: - "3010:3010" volumes: - .:/my_app links: - db.local depends_on: - db db: image: postgres:10.5 ports: - "5432:5432"