Iam trying to setup plone locally using docker , even though i have both backend and frontend containers running, going to localhost:3000 does not the load the site, it just keeps on loading.
this is the output of the docker ps command:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7a9cfb7533b3 plone/plone-frontend:latest "yarn start:prod" 34 minutes ago Up 8 seconds (healthy) 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp plone6-frontend
929c479d8308 plone/plone-backend:6.0 "/app/docker-entrypo…" 37 minutes ago Up 37 minutes (healthy) 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp plone6-backend
How you started docker containers? It maybe the port 3000 is not exposed or it maybe using the exposed port 80. So we need to know how you started the docker containers.
Or, it maybe another thing, did you created the any breakpoint in the backend code (it happens to me all the time)?
Sometimes I forget to create site, so it maybe another reason.
these are the commands I used to run the docker containers, these commands were taken from the plone documentation.
this was the output of the docker ps command:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
34c4a61463cf plone/plone-frontend:latest "yarn start:prod" 20 seconds ago Up 19 seconds (healthy) 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp plone6-frontend
f32a68f175e6 plone/plone-backend:6.0 "/app/docker-entrypo…" About a minute ago Up About a minute (healthy) 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp plone6-backend
the ports mentioned here for frontend is 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp and backend is 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp
I confirmed the process were actually running on the port using netstat and lsof commands: