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

Nginx has conflict with an application running on 443

In MacOS, I usually run my project in localhost by sudo PORT=443 HTTPS=true ./node_modules/.bin/react-scripts start. As a result, https://localhost/#/start works in a browser. Now, to run third-party authentications in localhost, I need to run nginx. Here is my /usr/local/etc/nginx/nginx.conf: worker_processes…

VIEW QUESTION
Back To Top
Search