emmsii
emmsii
RRailway
Created by emmsii on 8/22/2023 in #✋|help
Hosting a Directus + NuxtJs project service available
I've managed to get it working now! There was a typo in the NUXT_DIRECTUS_URL env variable name! Thanks for your help!
24 replies
RRailway
Created by emmsii on 8/22/2023 in #✋|help
Hosting a Directus + NuxtJs project service available
24 replies
RRailway
Created by emmsii on 8/22/2023 in #✋|help
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
RRailway
Created by emmsii on 8/22/2023 in #✋|help
Hosting a Directus + NuxtJs project service available
24 replies
RRailway
Created by emmsii on 8/22/2023 in #✋|help
Hosting a Directus + NuxtJs project service available
24 replies
RRailway
Created by emmsii on 8/22/2023 in #✋|help
Hosting a Directus + NuxtJs project service available
24 replies
RRailway
Created by emmsii on 8/22/2023 in #✋|help
Hosting a Directus + NuxtJs project service available
fabe1d4a-3a95-44c1-ac1c-3e5fc8fe67c9
24 replies