GithubHelp home page GithubHelp logo

show103 / svn-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elleflorio/svn-docker

0.0 1.0 0.0 12 KB

Lightweight Docker image to build a container running an SVN server

License: MIT License

Dockerfile 25.30% PHP 74.70%

svn-docker's Introduction

Docker Image

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://), and via custom protocol (svn://). A complete tutorial on how to build this image, and how to run the container is available on Medium

Running Commands

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

docker run -d --name svn-server -p 80:80 -p 3960:3960 elleflorio/svn-server

You can optionally bind a local folder to the container folder that will store your repositories using the flag -v <hostpath>:/home/svn.

Configuration

You need to setup username and password for the access via WebDav protocol. You can use the following command from you host machine:

docker exec -t svn-server htpasswd -b /etc/subversion/passwd <username> <password>

To verify that everything is up and running, open you browser and connect to http://localhost/svn. The system should ask you for the username and password, then it will show you and empty folder (no repos yet!). Check also that the custom protocol is working fine: go to you terminal and type svn info svn://localhost:3960. 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.

Alternative configuration via SVNADMIN

the image elleflorio/svn-server:ui provides a graphical ui using the SVNADMIN interface via http://localhost/svnadmin. You'll be prompted with a setup page, remember to test every step on the page then save the configuration.

svn-docker's People

Contributors

elleflorio avatar ivozzo avatar alevinetx avatar

Watchers

 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.