Docker compose with tanstack start #3147
Replies: 3 comments
-
I have the same problem. HMR does not work in Docker, but it works outside of it. It seems that vinxi doesn't allow you to configure the underlying vite hmr options needed to get this to work in Docker. I suspect I need to set
How are you changing the host name? I couldn't figure out how to configure this. |
Beta Was this translation helpful? Give feedback.
-
I tried to set it in the docker compose like so with no luck: .....
server:
container_name: gym_graphs_server
hostname: 0.0.0.0
..... |
Beta Was this translation helpful? Give feedback.
-
Vinxi 0.5.4 now allows this setting. How do I configure it in my Tanstack Start project though? nksaraf/vinxi#465 |
Beta Was this translation helpful? Give feedback.
-
Hey guys,
I am struggling to get docker working with tanstack start in DEV mode ? I keep getting this error. I have tried to play around with the host name but with no luck:

Reproduction steps:
docker compose up
Here is what my dev.Dockerfile looks like:
And my docker-compose file:
Beta Was this translation helpful? Give feedback.
All reactions