- moved ssl key generation into container

- mount html and webdav as volume
This commit is contained in:
2025-02-23 13:31:02 +01:00
parent 0c30086b37
commit 4deb3de6eb
8 changed files with 6 additions and 72 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
docker run -dit --rm --name my-apache-app -p 80:80 -p 443:443 my-httpd
# docker run -dit --rm --name my-apache-app -p 80:80 -p 443:443 my-httpd -v ./html:/var/www/html/ -v ./webdav:/var/www/webdav/
sudo chown -R root:www-data ./public-html/
sudo chown -R root:www-data ./webdav/
docker run -dit --rm --name my-apache-app -p 80:80 -p 443:443 -v ./public-html/:/var/www/html -v ./webdav/:/var/www/webdav my-httpd