Giter Site home page Giter Site logo

docker-submin's Introduction

docker-submin

web gui for svn running on docker

See Submin for more details.

See Docker hub for tags list and build details.

quick start If you want to run submin container on server "http://example.com" with port "8080",

docker run -d -p "8080:80" -e "SUBMIN_HOSTNAME=example.com" -e "SUBMIN_EXTERNAL_PORT=8080" thaim/submin

After initialization done, container print URL on logs to reset password as below:

access http://example.com:8080/submin/password/admin/NX6UIpOvlab0B8QYQTKE1d4xQQ9qNl0XG1pkeUV8xg9bbcj1q4 to reset password

Notes

  • Git feature is disabled.
  • Email feature is not working now.

docker-submin's People

Contributors

lrkwz avatar thaim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-submin's Issues

两个问题【解决方案】:1、找不到密码重置日志,2、系统启动报linux权限不足Permission denied: '/var/lib/svn'.

第一个问题:

# 通过下面命令获得进程的pid,后面填写的是容器的id或者名字
docker inspect --format "{{.State.Pid}}" dockercontainername
# 通过nsenter进入容器,如果没有就安装下yum install -y util-linux
nsenter --target 27951 --mount --uts --ipc --net --pid
# 进入容器后,切换到目录
cd /var/lib/submin/conf
# 使用sqlite3进入db文件
sqlite3 submin.db
# 通过命令获取verysecretfakekey
select * from password_reset where userid = 1;

复制对应的id
浏览器访问
http://example.com:8080/submin/password/admin/NX6UIpOvlab0B8QYQTKE1d4xQQ9qNl0XG1pkeUV8xg9bbcj1q4
进行密码重置

第二个问题
对于目录/var/lib/svn 进行授权777

chmod -R 777 /var/lib/svn

参考
https://serverfault.com/questions/646743/submin-password-reset-without-e-mail-sending
sqlite3操作

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.