diff --git a/docker-compose.yml b/docker-compose.yml index 4d07dbd..ce4af44 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,16 +11,16 @@ - TZ=${TZ} - WORDPRESS_DB_HOST=db - WORDPRESS_DB_USER=wordpress - - WORDPRESS_DB_USER=${WORDPRESS_DATABASE_PASSWORD} + - WORDPRESS_DB_PASSWORD=${WORDPRESS_DATABASE_PASSWORD} - WORDPRESS_DB_NAME=wordpress - - WORDPRESS_AUTH_KEY=${WORDPRESS_AUTH_KEY} - - WORDPRESS_LOGGED_IN_KEY=${WORDPRESS_LOGGED_IN_KEY} - - WORDPRESS_AUTH_SALT=${WORDPRESS_AUTH_SALT} - - WORDPRESS_LOGGED_IN_SALT=${WORDPRESS_LOGGED_IN_SALT} + #- WORDPRESS_AUTH_KEY=${WORDPRESS_AUTH_KEY} + #- WORDPRESS_LOGGED_IN_KEY=${WORDPRESS_LOGGED_IN_KEY} + #- WORDPRESS_AUTH_SALT=${WORDPRESS_AUTH_SALT} + #- WORDPRESS_LOGGED_IN_SALT=${WORDPRESS_LOGGED_IN_SALT} volumes: - - ./data/app:/usr/src/wordpress + - ./data/app:/var/www/html ports: - - "${WORDPRESS_WEB_BIND:-127.0.0.1}:${WORDPRESS_WEB_PORT:-8080}:80" + - "${WORDPRESS_FCGI_BIND:-127.0.0.1}:${WORDPRESS_FCGI_PORT:-9000}:9000" links: - wordpress-database:db networks: diff --git a/wordpress.conf.example b/wordpress.conf.example index fe55613..3c53182 100644 --- a/wordpress.conf.example +++ b/wordpress.conf.example @@ -1,10 +1,10 @@ ## wordpress option # bind address for web port -WORDPRESS_WEB_BIND=127.0.0.1 +WORDPRESS_FCGI_BIND=127.0.0.1 # port to bind to -WORDPRESS_WEB_PORT=8003 +WORDPRESS_FCGI_PORT=9003 ## database configuration