emmsii
Hosting a Directus + NuxtJs project service available
so I removed the ARG PORT, ENV PORT ${PORT}, ENV NITRO_PORT ${PORT} and EXPOSE ${PORT} lines from the dockerfile and still no luck, it's still failing to respond.
it looks like that template is using an older version of nuxt, the way to set the port at runtime is by setting the PORT or NITRO_PORT env variables: https://nuxt.com/docs/getting-started/deployment#configuring-defaults-at-runtime
I don't think this is the issue though, as previously I have been able to access the frontend and see my changes in the browser. The issue is when the frontend tries to make an API call to the directus service.
24 replies
Hosting a Directus + NuxtJs project service available
Frontend: https://frontend-production-c1ea.up.railway.app
Directus: https://directus-production-f09a.up.railway.app
24 replies