Replace IP address with hostname

Use 'server' hostname instead of 192.168.1.116 throughout README for
consistency with the Forgejo config.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
padriano 2026-05-09 15:47:58 +01:00
parent e56ea087a8
commit 9f223dbab4

View file

@ -113,7 +113,7 @@ docker inspect forgejo
### homeassistant ### homeassistant
- Config stored at `/home/padriano/projects/ha/config` - Config stored at `/home/padriano/projects/ha/config`
- Web UI: `http://192.168.1.116:8123` or `http://ha-padriano.duckdns.org` - Web UI: `http://server:8123` or `http://ha-padriano.duckdns.org`
- Uses `network_mode: host` for device discovery (mDNS, Zigbee, etc.) - Uses `network_mode: host` for device discovery (mDNS, Zigbee, etc.)
- Has a healthcheck — status shows `(health: starting)` for ~60s on first boot - Has a healthcheck — status shows `(health: starting)` for ~60s on first boot
@ -130,7 +130,7 @@ docker inspect forgejo
#### First-run setup #### First-run setup
Visit `http://192.168.1.116:3000` on first start and complete the install wizard: Visit `http://server:3000` on first start and complete the install wizard:
- **Base URL**: `http://padriano.duckdns.org:3000` - **Base URL**: `http://padriano.duckdns.org:3000`
- **SSH domain**: `padriano.duckdns.org` - **SSH domain**: `padriano.duckdns.org`
@ -140,8 +140,8 @@ Visit `http://192.168.1.116:3000` on first start and complete the install wizard
| Method | Local network | External (via DuckDNS) | | Method | Local network | External (via DuckDNS) |
|--------|---------------|------------------------| |--------|---------------|------------------------|
| Web UI | `http://192.168.1.116:3000` | `http://padriano.duckdns.org:3000` | | Web UI | `http://server:3000` | `http://padriano.duckdns.org:3000` |
| Git SSH | `ssh://git@192.168.1.116:2222` | `ssh://git@padriano.duckdns.org:2222` | | Git SSH | `ssh://git@server:2222` | `ssh://git@padriano.duckdns.org:2222` |
For external access, forward these ports on your router to `192.168.1.116`: For external access, forward these ports on your router to `192.168.1.116`:
@ -157,8 +157,8 @@ git remote add origin http://padriano.duckdns.org:3000/padriano/my-repo.git
# Add remote via SSH # Add remote via SSH
git remote add origin ssh://git@padriano.duckdns.org:2222/padriano/my-repo.git git remote add origin ssh://git@padriano.duckdns.org:2222/padriano/my-repo.git
# Clone via SSH # Clone via SSH (local)
git clone ssh://git@192.168.1.116:2222/padriano/my-repo.git git clone ssh://git@server:2222/padriano/my-repo.git
``` ```
--- ---