skip to Main Content

docker mysql connection refused

Can't connect to database server docker-compose: version: '3.7' services: nginx: container_name: app_nginx image: nginx:latest volumes: - ./:/var/www - ./docker/nginx/conf.d:/etc/nginx/conf.d ports: - "8876:80" depends_on: - app app: container_name: app build: context: . dockerfile: docker/app/Dockerfile volumes: - ./:/var/www depends_on: - db db:…

VIEW QUESTION
Back To Top
Search