5 Commits

Author SHA1 Message Date
Vantz Stockwell
3d3926c20f fix: Remove Gitea env var pre-config (let wizard handle it)
The GITEA__* environment variables were conflicting with the
wizard-generated app.ini, causing crash loop on startup.

Simplified to only USER_UID/GID - let the wizard configure
everything else cleanly.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 13:32:20 -05:00
Vantz Stockwell
cedc94d702 fix: Enable Gitea install wizard (INSTALL_LOCK=false)
Changed INSTALL_LOCK from true to false to allow first-time setup wizard.

After initial setup is complete, this can be changed back to true
to prevent unauthorized re-configuration.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 13:26:33 -05:00
Vantz Stockwell
69fec4a0fa fix: Move Gitea SSH to port 8095 (keep all infra in 809x range)
Changed: 2222 → 8095 for SSH
Keeps all infrastructure ports sequential: 8090-8095

Port allocation:
- 8090: Gitea HTTP
- 8091: SeaweedFS Filer
- 8092: SeaweedFS S3
- 8093: SeaweedFS Master
- 8094: SeaweedFS Volume
- 8095: Gitea SSH

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 13:23:43 -05:00
Vantz Stockwell
48209cebdd fix: Remap SeaweedFS ports to avoid conflicts on asgard
Port conflicts on asgard stack:
- 9333 → 8093 (SeaweedFS Master)
- 8080 → 8094 (SeaweedFS Volume)

Updated:
- docker-compose.yml
- README.md
- NPM-CONFIG.md

Final port allocation:
8090: Gitea HTTP
2222: Gitea SSH
8091: SeaweedFS Filer UI (cdn.corrosionmgmt.com)
8092: SeaweedFS S3 API
8093: SeaweedFS Master (internal)
8094: SeaweedFS Volume (internal)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 13:14:52 -05:00
Vantz Stockwell
c471b6a7dd feat: Add sovereign infrastructure stack (Gitea + SeaweedFS)
Separate infrastructure services from application stack for operational
resilience. Following Gemini's architectural guidance.

Infrastructure Services:
- Gitea (git.corrosionmgmt.com) - Source control, CI/CD, releases
  * SQLite database (self-contained)
  * Port 8090: Web UI
  * Port 2222: SSH

- SeaweedFS (cdn.corrosionmgmt.com) - S3-compatible object storage
  * Port 8091: Filer UI (primary CDN interface)
  * Port 8092: S3 API (programmatic access)
  * Port 9333: Master UI (internal admin)
  * Port 8080: Volume server (internal)

Benefits:
- Restarting Corrosion app doesn't affect Git/CDN services
- No shared database dependencies (Gitea uses SQLite)
- Clear separation between infrastructure and application concerns
- Foundation for plugin ecosystem and map hosting

Deployment:
cd infra && docker compose up -d

See infra/README.md for full setup instructions and NPM configuration.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 13:13:44 -05:00