Update Gitea references from 192.168.88.200:3000 to 192.168.88.27:3002 (Docker migration)
This commit is contained in:
@@ -30,7 +30,7 @@ All VMs: automatically pull latest on startup
|
||||
|
||||
### Step 1: Create the Gitea Repository (2 minutes)
|
||||
|
||||
1. Go to: **http://192.168.88.200:3000**
|
||||
1. Go to: **http://192.168.88.27:3002**
|
||||
2. Click **+** (top right) → **New Repository**
|
||||
3. Fill in:
|
||||
- **Repository name**: `homelab-configs`
|
||||
@@ -65,7 +65,7 @@ git add .
|
||||
git commit -m "Initial homelab-configs setup"
|
||||
|
||||
# Add remote and push
|
||||
git remote add origin http://192.168.88.200:3000/jgitta/homelab-configs.git
|
||||
git remote add origin http://192.168.88.27:3002/jgitta/homelab-configs.git
|
||||
git branch -M main
|
||||
git push -u origin main
|
||||
```
|
||||
@@ -92,7 +92,7 @@ entrypoint: /bin/sh
|
||||
command: |
|
||||
-c "
|
||||
mkdir -p /tmp/homelab-configs
|
||||
git clone http://192.168.88.200:3000/jgitta/homelab-configs.git /tmp/homelab-configs || true
|
||||
git clone http://192.168.88.27:3002/jgitta/homelab-configs.git /tmp/homelab-configs || true
|
||||
mkdir -p /root/.opencode
|
||||
cp /tmp/homelab-configs/opencode/config.json /root/.opencode/config.json
|
||||
exec opencode
|
||||
@@ -130,7 +130,7 @@ You should see:
|
||||
|
||||
```bash
|
||||
# Clone the repo (or update if you have it)
|
||||
git clone http://192.168.88.200:3000/jgitta/homelab-configs.git
|
||||
git clone http://192.168.88.27:3002/jgitta/homelab-configs.git
|
||||
cd homelab-configs
|
||||
|
||||
# Edit the config
|
||||
@@ -180,14 +180,14 @@ homelab-configs/
|
||||
|
||||
### Check if Repository Created:
|
||||
```bash
|
||||
curl http://192.168.88.200:3000/api/v1/repos/jgitta/homelab-configs \
|
||||
curl http://192.168.88.27:3002/api/v1/repos/jgitta/homelab-configs \
|
||||
2>/dev/null | jq '.name'
|
||||
# Should output: homelab-configs
|
||||
```
|
||||
|
||||
### Check if Configs Are Accessible:
|
||||
```bash
|
||||
curl http://192.168.88.200:3000/jgitta/homelab-configs/raw/branch/main/opencode/config.json \
|
||||
curl http://192.168.88.27:3002/jgitta/homelab-configs/raw/branch/main/opencode/config.json \
|
||||
2>/dev/null | jq '.apiBase'
|
||||
# Should output: "http://192.168.88.27:4000"
|
||||
```
|
||||
@@ -290,7 +290,7 @@ git push origin main
|
||||
```
|
||||
|
||||
### "Could not fetch configs from Gitea"
|
||||
- Check network access: `curl http://192.168.88.200:3000/`
|
||||
- Check network access: `curl http://192.168.88.27:3002/`
|
||||
- Verify Gitea repo exists and is public (or accessible)
|
||||
- Check docker-compose logs: `docker-compose logs opencode`
|
||||
|
||||
|
||||
@@ -196,7 +196,7 @@ services:
|
||||
entrypoint: /bin/sh
|
||||
command: |
|
||||
-c "
|
||||
git clone http://192.168.88.200:3000/jgitta/homelab-configs.git /tmp/configs
|
||||
git clone http://192.168.88.27:3002/jgitta/homelab-configs.git /tmp/configs
|
||||
cp /tmp/configs/opencode/config.json ~/.opencode/config.json
|
||||
exec ~/.opencode/bin/opencode
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user