summaryrefslogtreecommitdiffstats
path: root/.devcontainer/docker-compose.yml
diff options
context:
space:
mode:
authorStephan <stephan_orbaugh@outlook.de>2023-03-10 10:28:26 +0100
committerGitHub <noreply@github.com>2023-03-31 13:38:26 +0000
commit81df7d636e06d1cf5b4aa6ee8e7be8d8fe73c3c9 (patch)
tree7223561d78913212dcd46a2e96af8a3995b5476e /.devcontainer/docker-compose.yml
parenta1aa4491acac6217061a1cecc8cb9d807292376c (diff)
downloadnextcloud-server-81df7d636e06d1cf5b4aa6ee8e7be8d8fe73c3c9.tar.gz
nextcloud-server-81df7d636e06d1cf5b4aa6ee8e7be8d8fe73c3c9.zip
Proposed change to in-build docker-compose.yml and Dockerfile. The current implementation uses php 7.4, which is no longer compatible with the required PHP version of the server. I upped this to PHP 8.1
List of changes: - Upped PHP Version to 8.1 - Added Apache Webserver so the Container works "out of the box" after docker-compose up -d - Mounting whole project as volume to /var/www/html in docker-compose.yml (and set WORKDIR to /var/www/html) Tested in a Docker for Windows environment.
Diffstat (limited to '.devcontainer/docker-compose.yml')
-rw-r--r--.devcontainer/docker-compose.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml
index ada819429f4..ffec604fbb6 100644
--- a/.devcontainer/docker-compose.yml
+++ b/.devcontainer/docker-compose.yml
@@ -5,6 +5,7 @@ services:
volumes:
- .:/workspace:cached
- /var/run/docker.sock:/var/run/docker-host.sock
+ - ..:/var/www/html
command: /bin/sh -c "while sleep 1000; do :; done"
ports:
- 80:80