[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment

WordPress Trac noreply at wordpress.org
Mon Aug 12 01:00:59 UTC 2019


#47767: Simplify and backport the local environment
-------------------------------------+-----------------------
 Reporter:  pento                    |       Owner:  pento
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.3
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+-----------------------

Comment (by pento):

 In [attachment:"47767.16.diff"]:

 - Combine the `docker-compose.yml` and `docker-compose.scripts.yml` files,
 and move them to the root directory. This means we don't have to specify
 the filenames when running `docker-compose`, so can now use `docker-
 compose.overrides.yml`.
 - Fix nginx redirecting to port 80 when the URL is a directory name, but
 doesn't end in a `/`. (eg, requesting `/wp-admin` instead of `/wp-
 admin/`.)

 Note for committing: `docker-compose.overrides.yml` will need to be added
 to `svn:ignore`.

 @youknowriad: I think there are issues when running the Gutenberg local
 environment and Core local environment at the same time, the MySQL
 instances try to mount the same internal data directory, or something of
 that nature.

 I'm experimenting with how best to modify Gutenberg's local environment,
 so it can use Core, instead.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list