Browse Source

might work

main
Holger Frey 3 years ago
parent
commit
2df62f5380
  1. 2
      Dockerfile
  2. 26
      dav_svn.conf

2
Dockerfile

@ -18,7 +18,7 @@ RUN mkdir /var/lib/dav/ @@ -18,7 +18,7 @@ RUN mkdir /var/lib/dav/
RUN chown deploy:deploy /var/lib/dav/
# apache should run as user deploy
RUN sed -i .bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf
RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf
RUN openrc
RUN touch /run/openrc/softlevel

26
dav_svn.conf

@ -1,19 +1,17 @@ @@ -1,19 +1,17 @@
LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so
<VirtualHost 127.0.0.1:8000>
<Location />
DAV svn
SVNParentPath /data
SVNListParentPath On
<Location />
DAV svn
SVNParentPath /data
SVNListParentPath On
SVNAutoversioning on
ModMimeUsePathInfo on
SVNAutoversioning on
ModMimeUsePathInfo on
AuthType Basic
AuthName "svn"
AuthUserFile /data/.htpasswd
AuthzSVNAccessFile /data/authz
Require valid-user
</Location>
</VirtualHost>
AuthType Basic
AuthName "svn"
AuthUserFile /data/.htpasswd
AuthzSVNAccessFile /data/authz
Require valid-user
</Location>
Loading…
Cancel
Save