It keeps saying me that this network is undefined. ERROR: Service frontend-network uses an undefined network frontend-network However, I see that there
frontend-network
You need to add this network to the Compose file as external network like this:
networks: frontend-network: external: true
You can read about this in the docks here: https://docs.docker.com/compose/compose-file/#external-1.