Skip to content

Commit

Permalink
devops: WP_CORE_DIR fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed May 20, 2024
1 parent c903e8c commit 28d1e2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ADMIN_PASSWORD=password
ADMIN_PATH=/wp-admin

# WordPress location configurations
WP_CORE_DIR=/var/www/html
WP_CORE_DIR=
PLUGINS_DIR=
MUPLUGINS_DIR=
THEMES_DIR=
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ services:
- ./local/db:/docker-entrypoint-initdb.d
command: --default-authentication-plugin=mysql_native_password
environment:
WP_CORE_DIR: /var/www/html
MYSQL_ROOT_PASSWORD: ${ROOT_PASSWORD:-password}
MYSQL_DATABASE: ${DB_NAME:-wordpress}
MYSQL_USER: ${DB_USER:-wordpress}
Expand Down Expand Up @@ -80,6 +81,7 @@ services:
- ./.log/run_tests:/var/log/apache2
env_file: .env.testing
environment:
WP_CORE_DIR: /var/www/html
RUNNING_TEST_STANDALONE: 1
GRAPHQL_DEBUG: 1
WPGRAPHQL_WOOCOMMERCE_AUTOLOAD: 1
Expand Down

0 comments on commit 28d1e2a

Please sign in to comment.