Anyone have a working example of viteBundler and docker? #4517
Unanswered
brandoniffert
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running payload in docker for local development and am trying out viteBundler. I have traefik configured for the app but am running into problems getting HMR to work with this setup.
Entrypoints from traefik config:
vite config from
payload.config.ts
This gets me to the point where when I load the admin, I see the initial wss request:
wss://app.example.com:5173/admin/
When I update a file though, there is a request for
https://app.example.com:5173/admin/
that gets a 502 and the page is forced reloaded, also with a 502.Been trying a bunch of different options from Googling, but that usually results in infinite reloading of the page.
Beta Was this translation helpful? Give feedback.
All reactions