garethflowers / docker-svn-server

A Docker image running a simple Subversion server, using `svnserve`.
https://garethflowers.dev/docker-svn-server/
MIT License
64 stars 12 forks source link

Not working using docker-compose #3

Closed campanom closed 5 years ago

campanom commented 5 years ago

Hi gareth, I like your image. It is working if i use the docker run command. But when I try to create container using docker-compose up (using the appropiate yml file) when i execute sh to get inside docker image htpasswd file is missing. It is strange because the image should containt it. Do you know why it is happening? Thanks !

kefrunk commented 4 years ago

Hi campanom, I'm asking myself now the same question, how did you solve this finally? Thanks

garethflowers commented 4 years ago

Check out this projects Wiki for an example of a docker-compose file to use.

kefrunk commented 4 years ago

Thanks for the reply Gareth, I have the server running perfectly and I have no problem creating repos, committing files, etc, but I'm using always urls of type svn://localhost:3690.... What I want to try is to allow http access to the svn server, so that way I can use urls of type http://localhost:HTTP_PORT... I think this is configured at web server side, for example if you have apache running, but I'm just using the docker image and it doesn't come with apache or a web server installed, just the svn server at port 3690. So I guess I have to install first the web server Thanks

garethflowers commented 4 years ago

This image only provides access to SVN using the svn protocol.

If you need http access you probably want to be using a different docker image (something like elleflorio/svn-server).