diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2021-02-01 12:17:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 16:55:01 +0000 |
commit | 7f983cc5496ca398dfdef90d96fd0e1958371e56 (patch) | |
tree | 902d1aa19129cfb0d8e278134d1d097e10d56ca8 /.devcontainer/docker-compose.yml | |
parent | 26a20ed13f782418b37c16681a7ad7a0c8e943b6 (diff) | |
download | nextcloud-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/docker-compose.yml')
-rw-r--r-- | .devcontainer/docker-compose.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml new file mode 100644 index 00000000000..ada819429f4 --- /dev/null +++ b/.devcontainer/docker-compose.yml @@ -0,0 +1,29 @@ +version: '3' +services: + nextclouddev: + build: . + volumes: + - .:/workspace:cached + - /var/run/docker.sock:/var/run/docker-host.sock + command: /bin/sh -c "while sleep 1000; do :; done" + ports: + - 80:80 + - 8080:8080 + - 8025:8025 + + db: + image: postgres + restart: always + environment: + POSTGRES_PASSWORD: postgres + network_mode: service:nextclouddev + + adminer: + image: adminer + restart: always + network_mode: service:nextclouddev + + mailhog: + image: mailhog/mailhog + restart: always + network_mode: service:nextclouddev |