Lightweight Webdav Apache Subversion server based on Alpine Linux.
1.6K
Lightweight Webdav Apache Subversion server based on Alpine Linux. The access to the repositories is possible via WebDav protocol (http://).
To run the image, you can use the following command:
docker run -d --name svn-webdav --restart always \
-p 8888:80 \
-v svn-config:/srv/svn/conf.d \
-v $PWD/repos:/srv/svn/repos rvva/svn-webdav:latest
Where volume mount $PWD/repos is location for new or existing repositories.
Example usage with docker-compose:
version: '3.7'
services:
svn-webdav:
build: .
image: rvva/svn-webdav:latest
restart: always
container_name: svn-webdav
networks:
- internal
ports:
- 8888:80
volumes:
- ./repos:/srv/svn/repos:rw
- svn-conf:/srv/svn/conf.d
networks:
internal:
name: internal
external: true
volumes:
svn-conf:
Access control is carried out using a login and password. To create a new user and add it to the existence of the passwd file, execute the command:
docker exec -it svn-webdav htpasswd -mb /srv/svn/conf.d/passwd USERNAME PASSWORD
To create a repository, execute the command:
docker exec -it svn-webdav svnadmin create /srv/svn/repos/repository_name
Content type
Image
Digest
sha256:cf83fc465…
Size
21.5 MB
Last updated
over 3 years ago
docker pull rvva/svn-webdav