暴露端口,但不将它们发布到主机上-它们只对被链接的服务提供访问。只能指定内部端口。
expose: - "3000" - "8000"
Last updated 3 years ago
Was this helpful?