title: 树莓派:Docker安装gogs tags: [] id: '1883' categories:
https://github.com/gogs/gogs/tree/main/docker
version: '3.3'
services:
gogs:
container_name: gogs
ports:
- '11022:22'
- '11880:3000'
volumes:
- './gogs:/data'
image: gogs/gogs
[common]
server_addr = frp.limour.top
server_port = 21000
tls_enable = true
token = ***
user = rasp_app
[gogs_ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 11022
remote_port = 21423
[gogs_web]
type = http
local_ip = 127.0.0.1
local_port = 11880
use_compression = true
subdomain = gogs
docker restart frpc_app
version: '3.3'
services:
frpc:
container_name: frpc_app
restart: always
volumes:
- '/home/pi/frp_app/frpc.ini:/frp/frpc.ini'
network_mode: host
image: stilleshan/frpc