skip to Main Content

Can access to Mysql Database be denied when using docker-compose?

I have a MYSQL database setup with a Dockerfile and a docker-compose.yml like so: Dockerfile: FROM mysql:8.0.32 COPY ector_2022-02-24.sql /var/app/current/ector_2022-02-24.sql COPY insert_user.sql /var/app/current/insert_user.sql docker-compose.yml: version: '3' services: mysql: platform: linux/x86_64 container_name: ector-api-db build: context: . dockerfile: docker/mysql/Dockerfile environment: - MYSQL_ROOT_USER=root…

VIEW QUESTION
Back To Top
Search