HUB
Sign inSign up
websvn logo

bacherd/websvn

By bacherd

•Updated about 1 month ago

Alpine mod_dav_svn based svn server with websvn.

Image
1

5.3K

bacherd/websvn repository overview

⁠websvn

A simple webdav subversion server based on alpine with websvn.

⁠how to use

The container store their data in /opt/repositories and use the files dav_svn.authz and dav_svn.passwd for authority.

⁠docker run
docker run --name websvn -d \
    -v ./repositories:/opt/repositories \
    -v ./config:/opt/config \
    -p 80:80 \
    bacherd/websvn
⁠docker-compose
websvn:
   image: websvn
   ports:
     - 80:80
   environment:
     - BACKUP=true
   volumes:
     - ./repositories:/opt/repositories
     - ./backups:/opt/backups
     - ./imports:/opt/imports
     - ./config:/opt/config
   restart: always

⁠configure

The files dav_svn.authz and dav_svn.passwd automatic created /opt/config/ if they do not exist.

⁠backups

The environment variable BACKUP can be set for daily backup. The backup is stored in /opt/backups.

⁠import or create a new repository

All svn dump files stored in /opt/imports will automatically imported on container start.

docker exec -it container-name svnadmin create /opt/repositories/<repo-name>

Tag summary

Content type

Image

Digest

sha256:fc2765142…

Size

15.7 MB

Last updated

about 1 month ago

docker pull bacherd/websvn