If your using docker-compose you need to put them in the same network 
You can use npx @strapi-community/dockerize from there add your frontend.
If your using docker-compose you need to put them in the same network 
You can use npx @strapi-community/dockerize from there add your frontend.