/svn-docker

simple http svn repository server

Primary LanguagePHPMIT LicenseMIT

Docker Image

It's a fork of https://github.com/elleFlorio/svn-docker

Description

Lightweight container providing an SVN server, based on Alpine Linux and S6 process management (see here for details). The access to the server is possible via WebDav protocol (http://) A complete tutorial on how to build this image, and how to run the container is available on Medium

Svnadmin web-interface used from https://github.com/mfreiholz/iF.SVNAdmin version: stable-1.6.2.zip

Running Commands

To run the image, you can use the following command:

docker run \
    --name svn-server \
    -p 80:80 \
    -e SVN_SERVER_REPOSITORIES_URL=/svn \
    -v `pwd`/data:/data \
    sea5kg/svn-server
  • <data>/svnadmin - will be keep all repositories in subfolder in data
  • <data>/repositories - will be keep all repositories in subfolder in data
  • <data>/subversion - configurations for subversion (passwd && subversion-access-control)

In first start will be inited automaticly all default folders/files/password - to easy start.

so:

Check also that the custom protocol is working fine: go to your terminal and type svn info svn://localhost:3690. The system should connect to the server and tell you that is not able to find any repository. For further information on how to configure Subversion, please refer to the official web page.

TODO:

  • fix to deny access /svnadmin/data/