Sign inSign up

bxwill/svn

By bxwill

Updated about 5 years ago

Subversion in Apache2

Image
0

161

bxwill/svn repository overview

Subversion + Apache2

Base http Docker image to install subversion and configure Apache

org author httpd svn httpd

Start Container
docker-compose up -d

docker-compose.yaml as below:

version: '3'
services:
  svn:
    container_name: svn
    image: bxwill/svn:1.10
    ports:
      - 80:80
      - 443:443
      - 3690:3690
    volumes:
      - ./repos:/var/repos
Create Repository in container

Init Repository:

cd /var/repos
svnadmin create <REPO_NAME>

Add/Modify username and password:

cd <REPO_NAME>/conf
vim authz            # add username
vim passwd           # set password
vim svnserve.conf    # Enable password-db = passwd
Access via SVN

Svn repo <REPO_NAME> works: svn://127.0.0.1/<REPO_NAME>

Execute svn command:

svn checkout svn://127.0.0.1/<REPO_NAME> --username <SVN_NAME> --password <SVN_PASSWD>
Access via HTTP

Svn web URL: http://127.0.0.1/svn/<REPO_NAME>

Default username is admin and password is opendevops

Tag summary

Content type

Image

Digest

Size

79.8 MB

Last updated

about 5 years ago

docker pull bxwill/svn:1.10