diff --git a/docker-compose.yml b/docker-compose.yml index ce4af44..3c9c817 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ services: wordpress-app: - image: wordpress:4.9-php7.2-fpm + image: wordpress:4.9-php7.2-apache restart: always mem_limit: 1g depends_on: @@ -20,7 +20,7 @@ volumes: - ./data/app:/var/www/html ports: - - "${WORDPRESS_FCGI_BIND:-127.0.0.1}:${WORDPRESS_FCGI_PORT:-9000}:9000" + - "${WORDPRESS_HTTP_BIND:-127.0.0.1}:${WORDPRESS_HTTP_PORT:-8000}:80" links: - wordpress-database:db networks: diff --git a/wordpress.conf.example b/wordpress.conf.example index 3c53182..199e980 100644 --- a/wordpress.conf.example +++ b/wordpress.conf.example @@ -1,10 +1,10 @@ ## wordpress option # bind address for web port -WORDPRESS_FCGI_BIND=127.0.0.1 +WORDPRESS_HTTP_BIND=127.0.0.1 # port to bind to -WORDPRESS_FCGI_PORT=9003 +WORDPRESS_HTTP_PORT=8000 ## database configuration