0

说来话长,但是由于之前配置了 3rd 方服务,如果我可以让 Lando 在端口 8000 上而不是分配的 docker 端口上监听会容易得多(例如,每次都不同)。我试过这样overrides

overrides:
  ports:
    - '8000'

是否可以配置 Lando 以便我的 apache 服务器侦听端口 8000?

4

1 回答 1

0

这不是您问题的答案,但如果您使用 Lando 代理,则更改 appserver 端口不会有问题,您可以将 http 请求指向所选主机名。

示例.lando.yml

name: test

proxy:
  appserver:
    - test.localhost
    - my.local-domain.test
于 2020-01-05T10:48:21.733 回答