Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

nomadalex/docker-svnserve-gogs-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Use Gogs for svnserve auth backend

Visit Docker Hub see all available images and tags.

Usage

To keep svn data out of Docker container, we do a volume (/var/svn -> /data) here, and for send request to Gogs, we use ENV value (GOGS_HOST=https://gogs.domain.lan) here, you can change them based on your situation.

# Pull image from Docker Hub.
$ docker pull ifreedom/svnserve-gogs-auth

# Create local directory for volume.
$ mkdir -p /var/svn

# Use `docker run` for the first time.
$ docker run -d --name=svnserve-gogs-auth -p 3690:3690 -e GOGS_HOST=https://gogs.domain.lan -v /var/svn:/data ifreedom/svnserve-gogs-auth

# Use `docker start` if you have stopped it.
$ docker start svnserve-gogs-auth

# Create test repo.
$ docker run --rm -v /var/svn:/data ifreedom/svnserve-gogs-auth svnadmin create /data/repos/test

note: The container default use http://gogs as GOGS_HOST, so you can also use container link to connect it to Gogs.

About

Use Gogs as svnserve auth backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages