限制 Gitea 端口仅本机访问
This commit is contained in:
parent
a6f5ea721d
commit
ee39e0b1c6
@ -5,7 +5,7 @@ The production stack lives at `/opt/tracecd` on `156.238.122.140` and is sized f
|
||||
## Services
|
||||
|
||||
- MySQL 8.0.40: Docker-only `tracecd-net`; no host port is published.
|
||||
- Gitea 1.22.6: host ports 3000 and 2222 are mapped, but remain blocked by the host firewall unless explicitly opened.
|
||||
- Gitea 1.22.6: host ports 3000 and 2222 are bound to loopback only until an authenticated public access method is chosen.
|
||||
- Gitea Actions runner: capacity 1, label `centos-env`, Docker socket access.
|
||||
- TraceCD: built by Gitea Actions, bound to `127.0.0.1:8080` and served by host Nginx.
|
||||
- Nginx: `t.1633292.cn` on port 80. Port 443 remains owned by Xray.
|
||||
|
||||
@ -56,8 +56,8 @@ services:
|
||||
- ./data/gitea:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "2222:22"
|
||||
- "127.0.0.1:3000:3000"
|
||||
- "127.0.0.1:2222:22"
|
||||
networks:
|
||||
- tracecd-net
|
||||
mem_limit: 256m
|
||||
|
||||
Loading…
Reference in New Issue
Block a user