docker + gogs

docker run --name gogs -d -p 10022:22 -p 10080:3000 --restart=always \
    -v ~/gogs:/data \
    gogs/gogs
  • github

git@github.com:adsryen/gitbook.prlrr.com.git

https://github.com/adsryen/gitbook.prlrr.com.git
  • gogs

git@ssh.adsryen.cn:adsryen/gitbook.prlrr.com.git

https://gogs.adsryen.cn/adsryen/gitbook.prlrr.com.git
./gogs cert -ca=true -duration=8760h0m0s -host=gogs.adsryen.cn
docker cp gogs:$(docker exec gogs pwd)/cert.pem gogs/https

最后更新于