No description
  • Shell 47.5%
  • Dockerfile 34.7%
  • HTML 17.8%
Find a file
2025-05-14 11:05:23 +02:00
kustomize Update 2025-05-14 11:05:23 +02:00
.gitignore Update 2025-05-14 11:05:23 +02:00
dav-index.html add second port for normal web 2024-05-17 14:22:54 +02:00
docker-entrypoint.sh on fi missing 2024-05-17 14:48:27 +02:00
Dockerfile add second port for normal web 2024-05-17 14:22:54 +02:00
Dockerfile.ubi-minimal Put mimetypes in place 2024-05-21 12:05:24 +02:00
htpasswd.sh Readme and shell script 2023-02-07 18:24:40 +01:00
httpd-foreground solve /run/httpd problem 2024-05-17 14:59:39 +02:00
httpd.conf correct port number for virtual webserver 2024-05-21 12:12:47 +02:00
LICENSE Add LICENSE 2023-02-07 16:14:05 +00:00
Readme.md add ubi-minimal as base container 2023-02-08 17:12:25 +01:00

Simple webdav server

This is a WebDav server primary for OpenShift / OKD / Kubernetes.

The primary use is to share keepass files secure between devops teams.

The system consist of a standard apache container and a minimal configuration for WebDav.

Users are created in a local htpasswd file inside the pvc which stores the files (/data/config/users.password).

You can upload static html files to the servers htdocs directory /data/htdocs/

build

You cn use 2 versions as base container:

  • Dockerfile -> this version uses the original Apache httpd container in the bullseye variant (alpine version has bugs related to DAV!)
  • Dockerfile.ubi-minimal -> this version uses the UBI minimal container (useful for all those people with OpenShift and Red Hat support ;-))

To switch edit kustomize/build/buildconfig.yaml.

oc apply -k kustomize/build/

deploy

oc apply -k kustomize/template

create user / modify password

Login to your cluster and switch to the correct namespace. Then:

oc exec -ti $(oc get pod -l app=simple-webdav-server -o name | head -1) -- htpasswd /data/config/users.password username

or use

./htpasswd.sh


Peter Pfläging <peter@pflaeging.net>