
klingtdotnet/gogsshdocker create --name gogs-data --volume /home/gogs --volume /etc/ssh --volume /opt/gogs/custom --volume /opt/gogs/log klingtdotnet/gogs
shdocker run --rm --volumes-from gogs-data -p 8080:3000 -it klingtdotnet/gogs
gogs/home/gogs because this will be mounted in the data containerWARNING: When you run gogs for the first time, it will serve the installation form, where you can setup an admin account, on the web interface. Make sure that this is not accessible from the outside! After you made the initial setup everything is save to serve on the web. Note that you can not use admin for the administrator account name, see.
use an ssh tunnel to access the container for the initial setup: ssh -L LOCAL_PORT:domain:REMOTE_PORT domain
I would recommend to check the configuration of sshd (disable X11 forwarding, root login and password authentification) and gogs afterwards:
shdocker run --rm --volumes-from gogs-data -it klingtdotnet/vim /bin/bash
ToDo ...
some.domain/git, so I decided to use sub domain insteadnginxserver { listen 80; listen [::]:80; server_name git.some.domain.name; return 301 [***] } server { listen 443 ssl spdy; listen [::]:443 ssl spdy; server_name git.some.domain.name; ssl_certificate /etc/nginx/ssl/git_some_domain_name.crt; ssl_certificate_key /etc/nginx/ssl/git_some_domain_name.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; location / { proxy_pass http://localhost:***/; } }



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务