Open felix-berlin opened 2 years ago
I just hit a similar issue and found a solution through Slack.
Node has trouble running of the standard port 80 due to permissions. You should expose something like 3000 and map onto that:
services:
theme:
type: node:16
port: 3000
proxy:
appserver:
- sora.lndo.site:3000
You would also need to update whatever is running your node app to use 3000 for the above example
Thx @chrisk-7777 I will try this when I'm back on the project again.
I am trying to set up a container for playwright.
There is a show-report command that uses localhost:9323. I want to make that port accessible to my host.
This isn't working:
name: playwright
recipe: drupal10
config:
webroot: web
services:
playwright:
type: node:18
port: 9323
proxy:
appserver:
- playwright.playwright.lndo.site:9323
Docker Version:
Cloud integration: v1.0.23 Version: 20.10.14 API version: 1.41 Go version: go1.16.15 Git commit: a224086 Built: Thu Mar 24 01:48:21 2022 OS/Arch: linux/amd64 Context: default Experimental: true
Server: Docker Desktop Engine: Version: 20.10.14 API version: 1.41 (minimum version 1.12) Go version: go1.16.15 Git commit: 87a90dc Built: Thu Mar 24 01:46:14 2022 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.5.11 GitCommit: 3df54a852345ae127d1fa3092b95168e4a88e2f8 runc: Version: 1.0.3 GitCommit: v1.0.3-0-gf46b6ba docker-init: Version: 0.19.0 GitCommit: de40ad0
Lando is no able to create proxy URL's for NODEjs neither with lndo.side or local domains
lando start verbose log:
Lando Config: