docs: Forgejo git-SSH on host port 9200
This commit is contained in:
parent
dc2262b056
commit
b0efda7731
5 changed files with 9 additions and 9 deletions
|
|
@ -18,7 +18,7 @@ Do **not** switch to the non-rootless `forgejo:11` image under rootless podman:
|
|||
| Path | `/home/hernani/koopa-forgejo/` |
|
||||
| Containers | `koopa-forgejo` (**rootless**), `koopa-forgejo-db` (postgres:16-alpine) |
|
||||
| HTTP | host **9024** → Caddy `git.hacktivism.ch` |
|
||||
| SSH (git) | host **2222** → container 2222 (direct; not via Caddy) |
|
||||
| SSH (git) | host **9200** → container 2222 (direct; not via Caddy) |
|
||||
| ROOT_URL | `https://git.hacktivism.ch/` |
|
||||
| Landing | explore (public browse OK) |
|
||||
|
||||
|
|
@ -60,5 +60,5 @@ sudo systemctl reload caddy
|
|||
## Notes
|
||||
|
||||
- DNS already points `git.hacktivism.ch` at koopa (with other hacktivism names).
|
||||
- Git over SSH: `ssh://git@git.hacktivism.ch:2222/…` (open **2222** on firewall/router if WAN access needed).
|
||||
- Git over SSH: `ssh://git@git.hacktivism.ch:9200/…` (open **9200**/tcp on firewall/router if WAN access needed).
|
||||
- Until Caddy is reloaded, only `http://127.0.0.1:9024` works on host.
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
- landing mem snapshot fix (pipeline → 0 B)
|
||||
- Caddy redir / → /intro/ (three sites)
|
||||
- SECRETS.md paths only; no secret material in admin-log
|
||||
- **Forgejo rootless** on `git.hacktivism.ch` (:9024 / SSH :2222); no free registration
|
||||
- **Forgejo rootless** on `git.hacktivism.ch` (:9024 / SSH :9200); no free registration
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ scripts/ # merchant, exchange, monitoring helpers
|
|||
| `taler-exchange-hacktivism` | exchange | **9011** |
|
||||
| `taler-bank-hacktivism` | libeufin-bank (GOA, no IBAN) | **9012** |
|
||||
| `koopa-castopod` (+ mariadb/redis) | Castopod Fediverse podcast | **9020** |
|
||||
| `koopa-forgejo` (+ postgres) | **Forgejo rootless** git | **9024** (+ SSH **2222**) |
|
||||
| `koopa-forgejo` (+ postgres) | **Forgejo rootless** git | **9024** (+ SSH **9200**) |
|
||||
|
||||
Start model (Taler): **root** `/root/start_base_services_*` → shell as service user → `/usr/local/bin/start_*.sh [--restart]`.
|
||||
Start model (Castopod): `hernani` → `cd ~/koopa-castopod && podman-compose up -d`.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# 9024 forgejo HTTP (SSH :2222 host-direct, not via Caddy)
|
||||
# 9024 forgejo HTTP (SSH :9200 host-direct, not via Caddy)
|
||||
# Apply on host: merge into /etc/caddy/Caddyfile, validate, reload
|
||||
git.hacktivism.ch {
|
||||
header Alt-Svc "clear"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# koopa-forgejo — ROOTLESS Forgejo image + rootless podman (user hernani)
|
||||
# Site: https://git.hacktivism.ch | HTTP :9024 | SSH :2222
|
||||
# Site: https://git.hacktivism.ch | HTTP :9024 | SSH :9200
|
||||
services:
|
||||
forgejo:
|
||||
image: codeberg.org/forgejo/forgejo:11-rootless
|
||||
|
|
@ -20,7 +20,7 @@ services:
|
|||
FORGEJO__server__SSH_DOMAIN: git.hacktivism.ch
|
||||
FORGEJO__server__ROOT_URL: https://git.hacktivism.ch/
|
||||
FORGEJO__server__HTTP_PORT: "3000"
|
||||
FORGEJO__server__SSH_PORT: "2222"
|
||||
FORGEJO__server__SSH_PORT: "9200"
|
||||
FORGEJO__server__SSH_LISTEN_PORT: "2222"
|
||||
FORGEJO__server__START_SSH_SERVER: "true"
|
||||
FORGEJO__server__DISABLE_SSH: "false"
|
||||
|
|
@ -41,7 +41,7 @@ services:
|
|||
FORGEJO____APP_NAME: "hacktivism git"
|
||||
ports:
|
||||
- "9024:3000"
|
||||
- "2222:2222"
|
||||
- "9200:2222"
|
||||
volumes:
|
||||
- ./data:/var/lib/gitea
|
||||
- ./config:/etc/gitea
|
||||
|
|
@ -53,7 +53,7 @@ services:
|
|||
org.hacktivism.service: forgejo
|
||||
org.hacktivism.variant: rootless
|
||||
org.hacktivism.host_port: "9024"
|
||||
org.hacktivism.ssh_port: "2222"
|
||||
org.hacktivism.ssh_port: "9200"
|
||||
org.hacktivism.site: git.hacktivism.ch
|
||||
org.hacktivism.managed_by: koopa-admin
|
||||
healthcheck:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue