nezhar / wordpress-docker-compose

Easy Wordpress development with Docker and Docker Compose

Repository from Github https://github.comnezhar/wordpress-docker-composeRepository from Github https://github.comnezhar/wordpress-docker-compose

VIRTUAL HOST option

chiqui3d opened this issue · comments

What is the way to use my own host in this container? example: mywebsite.test

You need to define this in your /etc/hosts and afterwards add it to your wp-config.php:

define('WP_HOME','http://wp-app.local');
define('WP_SITEURL','http://wp-app.local');