aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authorRobin Windey <ro.windey@gmail.com>2023-03-27 07:05:27 +0000
committerGitHub <noreply@github.com>2023-03-31 13:53:04 +0000
commita32e8db7031bbb3e183afdf8cabc9b16910dec86 (patch)
treeb1c83168bd14c2ffc86035cc5d98b7b13c63fe45 /.devcontainer/devcontainer.json
parent79fb336d35953a1bad648e256c5f57eee2809041 (diff)
downloadnextcloud-server-a32e8db7031bbb3e183afdf8cabc9b16910dec86.tar.gz
nextcloud-server-a32e8db7031bbb3e183afdf8cabc9b16910dec86.zip
Minor DevContainer adjustments
* Add gnupg2 to be able to sign commits * Make sure /var/www/html always belongs to www-data * Add Git-History plugin * Introduce dedicated entrypoint script * Store Postgres database data in volume to be persistent * Cleaner check if NC is already installed in setup.sh * Add composer to DevContainer Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 2f197a58fed..709744e3f0d 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -3,6 +3,7 @@
"dockerComposeFile": "docker-compose.yml",
"service": "nextclouddev",
"postCreateCommand": ".devcontainer/setup.sh",
+ "postStartCommand": "chown -R www-data:www-data /var/www/html",
"forwardPorts": [
80,
8080,
@@ -14,7 +15,8 @@
"felixfbecker.php-debug",
"felixfbecker.php-intellisense",
"ms-azuretools.vscode-docker",
- "xdebug.php-debug"
+ "xdebug.php-debug",
+ "donjayamanne.githistory"
],
"settings": {
"php.suggest.basic": false