{"id":21531514,"url":"https://github.com/aguslr/docker-apache-dav","last_synced_at":"2025-08-24T14:37:25.917Z","repository":{"id":189324308,"uuid":"633905780","full_name":"aguslr/docker-apache-dav","owner":"aguslr","description":"Set up Apache HTTP server to share files via WebDAV","archived":false,"fork":false,"pushed_at":"2024-05-28T10:13:26.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T06:28:50.957Z","etag":null,"topics":["apache","docker","httpd","podman","webdav"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aguslr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-28T14:52:24.000Z","updated_at":"2024-09-30T23:49:06.000Z","dependencies_parsed_at":"2024-03-17T05:04:25.792Z","dependency_job_id":"21340967-09e8-4a53-befa-9e70841f5012","html_url":"https://github.com/aguslr/docker-apache-dav","commit_stats":null,"previous_names":["aguslr/docker-apache-dav"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-apache-dav","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-apache-dav/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-apache-dav/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-apache-dav/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aguslr","download_url":"https://codeload.github.com/aguslr/docker-apache-dav/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244094698,"owners_count":20397092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","docker","httpd","podman","webdav"],"created_at":"2024-11-24T02:14:38.192Z","updated_at":"2025-08-24T14:37:25.901Z","avatar_url":"https://github.com/aguslr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[aguslr/docker-apache-dav][1]\n=============================\n\n[![docker-pulls](https://img.shields.io/docker/pulls/aguslr/apache-dav)](https://hub.docker.com/r/aguslr/apache-dav) [![image-size](https://img.shields.io/docker/image-size/aguslr/apache-dav/latest)](https://hub.docker.com/r/aguslr/apache-dav)\n\n\nThis *Docker* image sets up *Apache*'s [WebDAV][3] inside a docker container.\n\n\u003e **[Apache][2]** is an open-source HTTP server for modern operating systems\n\u003e including UNIX and Windows.\n\n\nInstallation\n------------\n\nTo use *docker-apache-dav*, follow these steps:\n\n1. Clone and start the container:\n\n       docker run -p 80:80 \\\n         -e HTTP_USER=bob \\\n         -e HTTP_PASS=123456 \\\n         -v \"${PWD}\"/data:/data \\\n         docker.io/aguslr/apache-dav:latest\n\n2. Configure your Web browser to connect to your *Apache* server's IP address\n   and login with user `HTTP_USER`.\n\n\n### Variables\n\nThe image is configured using environment variables passed at runtime. All these\nvariables are prefixed by `HTTP_`.\n\n| Variable | Function              | Default       | Required |\n| :------- | :-------------------- | :------------ | -------- |\n| `USER`   | Username of HTTP user | `httpuser`    | N        |\n| `PASS`   | Password of HTTP user | autogenerated | N        |\n\nTo see the default autogenerated password, check the log for the container:\n\n    docker logs \u003ccontainer_name\u003e | grep '^Password'\n\n\n### Custom Apache configuration\n\nIf we want to customize Apache we can add these customizations to a\n`custom.conf` file:\n\n    \u003cDirectory \"/data/Public\"\u003e\n        \u003cLimitExcept GET PROPFIND OPTIONS HEAD\u003e\n           Require valid-user\n        \u003c/LimitExcept\u003e\n    \u003c/Directory\u003e\n\nThen we can go ahead and mount it as follows:\n\n    docker run -p 80:80 \\\n      -e HTTP_USER=bob \\\n      -e HTTP_PASS=123456 \\\n      -v \"${PWD}\"/data:/data \\\n      -v \"${PWD}\"/custom.conf:/etc/apache2/dav.d/custom.conf \\\n      docker.io/aguslr/apache-dav:latest\n\n\nBuild locally\n-------------\n\nInstead of pulling the image from a remote repository, you can build it locally:\n\n1. Clone the repository:\n\n       git clone https://github.com/aguslr/docker-apache-dav.git\n\n2. Change into the newly created directory and use `docker-compose` to build and\n   launch the container:\n\n       cd docker-apache-dav \u0026\u0026 docker-compose up --build -d\n\n\n[1]: https://github.com/aguslr/docker-apache-dav\n[2]: https://httpd.apache.org/\n[3]: https://en.wikipedia.org/wiki/WebDAV\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faguslr%2Fdocker-apache-dav","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faguslr%2Fdocker-apache-dav","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faguslr%2Fdocker-apache-dav/lists"}