Make WordPress Core

Changeset 53636


Ignore:
Timestamp:
07/02/2022 10:52:38 PM (2 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Enable loopback requests to work on the local development environment.

This maps localhost to the host machine so the requests get routed to the web server container.

Props sandrasanzdev, hasanuzzamanshamim

Fixes #52708

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docker-compose.yml

    r53628 r53636  
    5656    init: true
    5757
     58    extra_hosts:
     59      - localhost:host-gateway
     60
    5861  ##
    5962  # The MySQL container.
     
    99102    init: true
    100103
     104    extra_hosts:
     105      - localhost:host-gateway
     106
    101107volumes:
    102108  # So that sites aren't wiped every time containers are restarted, MySQL uses a persistent volume.
Note: See TracChangeset for help on using the changeset viewer.