-
Notifications
You must be signed in to change notification settings - Fork 948
Open
Labels
Description
I received an email from somebody that was confused how to deploy the compose file as it would build with default environment variables, thus API_URL was set to localhost where in the case of that user, they needed it to point to a public IP address.
I suggest that we include those variables with the default values.
Those are (for dashboard):
| Name | Default |
|---|---|
APP_MOUNT_URI |
http://localhost:9000/dashboard/Adapt it for storefront, and check they have one. |
API_URI |
http://localhost:8000/graphql/ |
STATIC_URL |
http://localhost:9000/ Please check it, not sure about it. |
Otherwise, another solution, would be serving everything on the same port but with different path. Which is way easier, but we would need to add nginx for that in order to still be able to use npm start instead of npm run build.
boreBoar, superonedev and freebreix