skip to Main Content

Docker: Cannot connect to other container

docker-compose.yml version: '3' volumes: wp-assets: services: mariadb: build: ./requirements/mariadb environment: - MYSQL_ROOT_HOST=${MYSQL_ROOT_HOST} - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} - MYSQL_DATABASE=${MYSQL_DATABASE} - MYSQL_USER=${MYSQL_USER} - MYSQL_PASSWORD=${MYSQL_PASSWORD} ports: - "127.0.0.1:3306:3306" - "127.0.0.1:9999:9999" # test wordpress: environment: - WORDPRESS_DB_HOST=${WORDPRESS_DB_HOST} - WORDPRESS_DB_USER=${WORDPRESS_DB_USER} - WORDPRESS_DB_PASSWORD=${WORDPRESS_DB_PASSWORD} - WORDPRESS_DB_NAME=${WORDPRESS_DB_NAME} - WORDPRESS_TABLE_PREFIX=${WORDPRESS_TABLE_PREFIX} -…

VIEW QUESTION

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
Back To Top
Search