diff options
author | Robin Windey <ro.windey@gmail.com> | 2023-03-11 12:18:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 13:53:03 +0000 |
commit | 16c14c059d03069f7e19e100b60c550e8ac54a38 (patch) | |
tree | da7019badd7e19b25c312488e9fa22eb30e3ca8b /.devcontainer/docker-compose.yml | |
parent | 81df7d636e06d1cf5b4aa6ee8e7be8d8fe73c3c9 (diff) | |
download | nextcloud-server-16c14c059d03069f7e19e100b60c550e8ac54a38.tar.gz nextcloud-server-16c14c059d03069f7e19e100b60c550e8ac54a38.zip |
Minor improvements for devcontainer
* Autostart apache2
* Apply occ installation on start
* Autostart Xdebug on request
* Add DevContainer Xdebug profile
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to '.devcontainer/docker-compose.yml')
-rw-r--r-- | .devcontainer/docker-compose.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index ffec604fbb6..cb46f3ce800 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -6,7 +6,7 @@ services: - .:/workspace:cached - /var/run/docker.sock:/var/run/docker-host.sock - ..:/var/www/html - command: /bin/sh -c "while sleep 1000; do :; done" + command: /bin/sh -c "chown -R www-data:www-data /var/www/html && service apache2 start && while sleep 1000; do :; done" ports: - 80:80 - 8080:8080 |