summaryrefslogtreecommitdiffstatshomepage
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 48f3abc607..863cbd2ea9 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -106,10 +106,14 @@ services:
PHP_FPM_UID: ${PHP_FPM_UID-1000}
PHP_FPM_GID: ${PHP_FPM_GID-1000}
HOST_PATH: ${PWD-}/${LOCAL_DIR-src}
+ WP_CONFIG_PATH: /var/www/wp-config.php
volumes:
- ./:/var/www
+ # Keeps the service alive.
+ command: 'sleep infinity'
+
# The init directive ensures the command runs with a PID > 1, so Ctrl+C works correctly.
init: true