Skip to content

Commit

Permalink
devops: More docker config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed May 20, 2024
1 parent 28d1e2a commit 8ca36a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ RUN service apache2 restart

# Set project environmental variables
ENV WP_ROOT_FOLDER="/var/www/html"
ENV WP_CORE_DIR=${WP_ROOT_FOLDER}
ENV WORDPRESS_DB_HOST=${DB_HOST}
ENV WORDPRESS_DB_PORT=${DB_PORT}
ENV WORDPRESS_DB_USER=${DB_USER}
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ 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 @@ -81,7 +80,6 @@ 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 8ca36a0

Please sign in to comment.