Code Monkey home page Code Monkey logo

docker-subversion's Introduction

Docker Subversion Server based on secured Apache SSL PHP on Ubuntu 14.04

maintained by MarvAmBass

FAQ - All you need to know about the marvambass Containers

What is it

A Docker Subversion Apache2 Container (based on marvambass/apache2-ssl-php).

It gives you automatically daily dumps of your SVN Repos for your Backup. Also you are able to create a new Project by just adding a new Folder to your repository root directory.

You can control the access of your Project with a htpasswd file in combination with a authz file.

pre run configuration (optional)

You may create the following two files. If you don't need access control you can just skip this step.

Create authz file like this example:

$DAV_SVN_CONF/dav_svn.authz

[groups]
admin = user1,user2, testuser
devgroup = user5, user6

[project1:/]
@admin = rw
@devgroup = r

# devgroup members are able to read and write on project2
[project2:/]
@devgroup = rw

# admins have control over every project - and can list all projects on the root point
[/]
@admin = rw

# everybody is able to read repos and sees all projects
[/]
* = r

$DAV_SVN_CONF/dav_svn.passwd

To add a new User like 'testuser' with password 'test' use the following command

htpasswd -c $DAV_SVN_CONF/dav_svn.passwd testuser

Or if you're to lazy, just use this line for your file (for testing only!)

testuser:$apr1$A2fjdj5R$hx9HvwAuj.i5niRjHEMnA.

Run the container

docker run \
-d \
-v $SVN:/var/local/svn \
-v $SVN_BACKUP:/var/svn-backup \
-v $DAV_SVN_CONF/:/etc/apache2/dav_svn/ \
--name subversion marvambass/subversion \

docker-subversion's People

Contributors

marvambass avatar maxwell1987 avatar maylukas avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.