Skip to content

Commit

Permalink
remove unnecessary config
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmoreau committed Apr 1, 2024
1 parent d8d027d commit 7883ffa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ services:
WORDPRESS_CONFIG_EXTRA: |
define( 'WP_HOME', 'http://' . ($$_SERVER['HTTP_HOST'] ?? 'localhost') );
define( 'WP_SITEURL', 'http://' . ($$_SERVER['HTTP_HOST'] ?? 'localhost') );
define( 'WP_ENVIRONMENT_TYPE', 'local' );
define( 'DB_CHARSET', 'utf8' );
define( 'DB_COLLATE', '' );
extra_hosts:
- host.docker.internal:host-gateway
volumes:
- .:/var/www/html

Expand All @@ -33,9 +28,6 @@ services:
WORDPRESS_CONFIG_EXTRA: |
define( 'WP_HOME', 'http://' . ($$_SERVER['HTTP_HOST'] ?? 'localhost') );
define( 'WP_SITEURL', 'http://' . ($$_SERVER['HTTP_HOST'] ?? 'localhost') );
define( 'WP_ENVIRONMENT_TYPE', 'local' );
define( 'DB_CHARSET', 'utf8' );
define( 'DB_COLLATE', '' );
volumes:
- .:/var/www/html

Expand Down
3 changes: 0 additions & 3 deletions wp-config-local.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@
define( 'WP_DEBUG', true );
define( 'WP_HOME', 'http://' . ($_SERVER['HTTP_HOST'] ?? 'localhost') );
define( 'WP_SITEURL', 'http://' . ($_SERVER['HTTP_HOST'] ?? 'localhost') );
define( 'WP_ENVIRONMENT_TYPE', 'local' );
define( 'DB_CHARSET', 'utf8' );
define( 'DB_COLLATE', '' );

0 comments on commit 7883ffa

Please sign in to comment.