Public Repository

Last pushed: a year ago
Short Description
User-Friendly USVN is a web interface written in PHP used to configure Subversion repositories.
Full Description

Running SVN server on port 80:

docker run -d -p 80:80 kempkensteffen/usvn

Running SVN server on port 80 with mapped volumes to persist repository contents:

docker run -d -p 80:80 -v /svn/files:/var/www/usvn/files -v /svn/config:/var/www/usvn/config kempkensteffen/usvn


FROM php:5.6-apache
RUN apt-get update && apt-get install -y --force-yes libapache2-svn subversion
RUN a2enmod dav && a2enmod dav_fs && a2enmod rewrite && a2enmod authz_svn && a2enmod dav_svn
COPY svn-apache.conf /etc/apache2/sites-enabled/000-default.conf
RUN mkdir /var/www/usvn
RUN cd /var/www/usvn && curl -L | tar --strip-components=1 -xz
RUN mkdir /var/www/usvn/files && chmod a+rwx /var/www/usvn/files
RUN chown -R www-data:www-data /var/www/


<VirtualHost *:80>

    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/usvn/public

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    <Directory />
        Options +SymLinksIfOwnerMatch
        AllowOverride All
        Order allow,deny
        Allow from all

    <Location /svn/>
        ErrorDocument 404 default
        DAV svn
        Require valid-user
        SVNParentPath /var/www/usvn/files/svn
        SVNListParentPath off
        AuthType Basic
        AuthName "USVN"
        AuthUserFile /var/www/usvn/files/htpasswd
        AuthzSVNAccessFile /var/www/usvn/files/authz

Docker Pull Command