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:
parent
e56ea087a8
commit
9f223dbab4
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -113,7 +113,7 @@ docker inspect forgejo
|
|||
### homeassistant
|
||||
|
||||
- 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.)
|
||||
- Has a healthcheck — status shows `(health: starting)` for ~60s on first boot
|
||||
|
||||
|
|
@ -130,7 +130,7 @@ docker inspect forgejo
|
|||
|
||||
#### 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`
|
||||
- **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) |
|
||||
|--------|---------------|------------------------|
|
||||
| Web UI | `http://192.168.1.116:3000` | `http://padriano.duckdns.org:3000` |
|
||||
| Git SSH | `ssh://git@192.168.1.116:2222` | `ssh://git@padriano.duckdns.org:2222` |
|
||||
| Web UI | `http://server:3000` | `http://padriano.duckdns.org:3000` |
|
||||
| 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`:
|
||||
|
||||
|
|
@ -157,8 +157,8 @@ git remote add origin http://padriano.duckdns.org:3000/padriano/my-repo.git
|
|||
# Add remote via SSH
|
||||
git remote add origin ssh://git@padriano.duckdns.org:2222/padriano/my-repo.git
|
||||
|
||||
# Clone via SSH
|
||||
git clone ssh://git@192.168.1.116:2222/padriano/my-repo.git
|
||||
# Clone via SSH (local)
|
||||
git clone ssh://git@server:2222/padriano/my-repo.git
|
||||
```
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue