aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2021-02-01 12:17:04 +0000
committerGitHub <noreply@github.com>2021-02-08 16:55:01 +0000
commit7f983cc5496ca398dfdef90d96fd0e1958371e56 (patch)
tree902d1aa19129cfb0d8e278134d1d097e10d56ca8 /.devcontainer/devcontainer.json
parent26a20ed13f782418b37c16681a7ad7a0c8e943b6 (diff)
downloadnextcloud-server-7f983cc5496ca398dfdef90d96fd0e1958371e56.tar.gz
nextcloud-server-7f983cc5496ca398dfdef90d96fd0e1958371e56.zip
Add initial support for GitHub codespaces
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 00000000000..a820364d73d
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,19 @@
+{
+ "name": "NextcloudServer",
+ "dockerComposeFile": "docker-compose.yml",
+ "service": "nextclouddev",
+ "postCreateCommand": ".devcontainer/setup.sh",
+ "forwardPorts": [
+ 80,
+ 8080,
+ 8025
+ ],
+ "runArgs": [
+ "--privileged"
+ ],
+ "extensions": [
+ "felixfbecker.php-debug",
+ "felixfbecker.php-intellisense",
+ "ms-azuretools.vscode-docker"
+ ],
+} \ No newline at end of file