how can you reproduce this here? You need docker-compose to do that.
It should run with machines inet address not dockers inet address. Hence I can't telnet it from another server.
Already described. Need to fix it asap.
@Revel109 could you share your ./docker-compose.yml contents please?
@TimvdEijnden
```
version: "3"
services:
nuxt:
build: ./app/
container_name: my_nuxt_app
restart: always
ports:
- "3000:3000"
command:
"npm run start"
````
@Revel109 Could you please try by adding network_mode: "host" ?
@Revel109 If I understand your issue aright, you need to specify that Nuxt listens on the public interface (of the container), which can be done in the Nuxt config or via an environment variable:
environment:
HOST: 0.0.0.0
@Revel109 Working repro:
@TimvdEijnden Yes, it's worked. Is it included in official docs?
"config": {
"nuxt": {
"host": "0.0.0.0",
"port": "3000"
}
},
This config in package.json also worked.
Closing here as it's not a Nuxt issue.