Mason
Using internal networking to communicate with Websocket
https://github.com/masoncusack/relevant - working branch is fix/breakup-frontend-backend
81 replies
Using internal networking to communicate with Websocket
Hi, I separated the frontend and backend into separate services and have them working locally. I created a new service for the frontend pulling from my dev branch and am now getting this error during the deployment process.
Checking the metrics for memory usage it seems to be at max 2MB, I don't see it peaking out.
I added the Caddyfile and nixpacks.toml to frontend but it's still starting the development server. This must be because the services are containerised, my run command is yarn start, and the start script in package.json is react-scripts start.
Wonder if this could have something to do with it? Should I change the startup command?
81 replies