skip to Main Content

Docker / phpmyadmin: Unable to connecto

I have the following docker-compose file. version: "3.7" services: main: container_name: buspack_main build: context: . target: development volumes: - .:/usr/src/app - /usr/src/app/node_modules ports: - ${API_PORT}:${API_PORT} command: bash -c "npm install --save && npm run start:dev" env_file: - .env networks: -…

VIEW QUESTION

docker network not working with spring boot and mysql

I am trying to run spring boot and mysql through docker, but there is a problem that I cannot connect. docker-compose.yml version: "3.7" services: docker-mysql: container_name: docker-mysql image: mysql:8.0.28 environment: MYSQL_USER: user MYSQL_PASSWORD: 1234 MYSQL_ROOT_PASSWORD: 1234 ports: - "3306:3306" networks:…

VIEW QUESTION
Back To Top
Search