I do not understand why I can not connect to mysql using docker compose golang mariadb/mysql multi container app
Attempting to create a golang mysql multi container app. Similar to docker example https://docs.docker.com/get-started/07_multi_container/ I do not understand why connection is refused. dial tcp 127.0.0.1:3306: connect: connection refused Here is my docker-compose.yaml version: '3.7' services: api: # api service starts…