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} -…