There seems to be a bug when strapi is started on a given port in the container, and then port mapped to another on the local host. When loading the admin panel, the following error message is shown:
Strapi: Warning an error occurred while requesting the API
Not sure if this is caused by the port map, or because the build command was not executed after port changes. For now, we'll standardize such that Strapi is at port 8001 both inside and outside of the container, and we'll revisit this when we will configure the reverse proxy
There seems to be a bug when strapi is started on a given port in the container, and then port mapped to another on the local host. When loading the admin panel, the following error message is shown:
Not sure if this is caused by the port map, or because the
build
command was not executed after port changes. For now, we'll standardize such that Strapi is at port 8001 both inside and outside of the container, and we'll revisit this when we will configure the reverse proxy