diff --git a/docker-compose.yml b/docker-compose.yml index 0ea37a4c95..6fcbe4d1f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -55,6 +55,9 @@ services: # The init directive ensures the command runs with a PID > 1, so Ctrl+C works correctly. init: true + extra_hosts: + - localhost:host-gateway + ## # The MySQL container. ## @@ -98,6 +101,9 @@ services: # The init directive ensures the command runs with a PID > 1, so Ctrl+C works correctly. init: true + extra_hosts: + - localhost:host-gateway + volumes: # So that sites aren't wiped every time containers are restarted, MySQL uses a persistent volume. mysql: {}