DustdevDM / PoC-WebDAV-container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proof of concept for WebDAV-Containerization

This repo is a PoC for the combination of the WebDAV Protokoll and an Angular Development Server inside of an dockerized environment.

⚠️Do not use this in public accessible environment as arbitrary code execution attacks are possible in this environment

What is this for?

This PoC is supposed to proof how WebDAV (using nginx) can be provided to host editable source code of an angular application, while a ng serve Angular development server is running in the background to rerender all changes made over WebDAV

Getting startet

  1. Build the docker image
docker build --tag dustdevdm/webdavtest .
  1. start the container
docker run -p 80:80 -p 4200:4200 --name webdavtest dustdevdm/webdavtest

How do u use this?

Simple! To see the angular application, open port 4200 of the maschine where the container is hosted in your browser. You can use the WebDAV client of your choice to access the files. I prefer the WebDAV Workspace plugin for visual studio code. You can use the connect.code-workspace file to use the extension after setting the right host.

About


Languages

Language:HTML 89.7%Language:TypeScript 6.4%Language:Dockerfile 3.4%Language:SCSS 0.3%Language:Shell 0.2%