Payfrit Infrastructure — Server Map
Dev Server (dev.payfrit.com)
- IP: Behind WireGuard VPN (10.10.0.x)
- SSH: ssh dev.payfrit.com (user: john, key-based auth, port 38291)
- OS: Ubuntu
- Web: nginx + PHP 8.3-FPM + Lucee/Tomcat (being migrated off)
Sites on Dev Server
| Domain |
Path |
Stack |
Notes |
| dev.payfrit.com |
/var/www/payfrit-api/ |
PHP 8.3 |
Main Payfrit API |
| dev.payfrit.com/food/ |
/var/www/payfrit-food/ |
PHP 8.3 |
Payfrit Food (API + portals) |
| god.payfrit.com |
/opt/lucee/tomcat/webapps/ROOT/god.payfrit.com/ |
Lucee CFML (VPN-only) |
Admin/god mode dashboard |
| git.payfrit.com |
Forgejo (port 3000) |
Go |
Code hosting (Forgejo) |
| mm.payfrit.com |
Mattermost |
Go |
Team chat |
| llm.payfrit.com |
DELETED (2026-03-17) |
— |
Was a test LLM tool |
Services on Dev Server
| Service |
Status |
Notes |
| nginx |
active |
Reverse proxy for all sites |
| php8.3-fpm |
active |
PHP processing |
| Lucee/Tomcat (port 8888) |
active (being phased out) |
Only god mode left after CFM migration |
| forgejo |
active |
Git hosting at git.payfrit.com |
| payfrit-bot-poller |
active |
Polls MM for bot messages, responds via Claude API |
| payfrit-bot-worker |
active |
Picks BotTasks from DB, runs Claude Code CLI |
Databases (10.10.0.1)
| Database |
Purpose |
| payfrit |
Main Payfrit (prod) |
| payfrit_dev |
Main Payfrit (dev) |
| payfrit_food |
Payfrit Food project |
- User: payfrit_app / Bv9#hLs4Wq@zK8nR
- Access: Via VPN or from dev server localhost
Prod Server (biz.payfrit.com)
- Purpose: Production Payfrit ordering platform
- Stack: Lucee/CFML + nginx
- Deploys: scp files then ssh to copy into place
Sites on Prod Server
| Domain |
Purpose |
| biz.payfrit.com |
Payfrit ordering platform (businesses, menus, ordering) |
| food.payfrit.com |
Payfrit Food marketing site (WordPress) |
Git Repos (git.payfrit.com/payfrit/)
| Repo |
Purpose |
Local Path |
| payfrit-food |
Food project (PHP API + portals + bot scripts) |
C:\dev\payfrit-food\ |
| payfrit-api |
Main Payfrit PHP API |
C:\dev\payfrit-api\ |
| payfrit-biz |
Biz portal frontend |
C:\dev\payfrit-biz\ |
| bots |
Central bot memory + infrastructure |
C:\dev\bots\ |
| payfrit-user-android |
Android customer app (Kotlin) |
C:\dev\payfrit-android\ |
| payfrit-works-android |
Android worker app (Kotlin) |
C:\dev\payfrit-works-android\ |
| payfrit-beacon-android |
Android beacon tool (Kotlin) |
C:\dev\payfrit-beacon-android\ |
| payfrit-food-ios |
iOS food scanner |
— (Mac) |
| payfrit-user-ios |
iOS customer app (Swift) |
— (Mac) |
| payfrit-works-ios |
iOS worker app (Swift) |
— (Mac) |
| payfrit-beacon-ios |
iOS beacon tool (Swift) |
— (Mac) |
| payfrit-brand |
Brand assets |
C:\dev\payfrit-brand\ |
| payfrit-theme |
Main WP theme |
C:\dev\payfrit-theme\ |
| payfrit-pads-theme |
Pads WP theme |
C:\dev\payfrit-pads-theme\ |
| payfrit-god |
God mode (admin panel) |
— (on server) |
| payfrit-help |
Help desk |
— |
| payfrit-wp |
WordPress config |
— |
| payfrit-work |
Work/tasks module |
— |
Deploy Commands
# Payfrit Food
git push origin main && ssh dev.payfrit.com "sudo git -C /var/www/payfrit-food pull origin main"
# Payfrit API
git push origin main && ssh dev.payfrit.com "sudo git -C /var/www/payfrit-api pull origin main"
# Biz frontend (prod)
scp file dev.payfrit.com:/tmp/ && ssh dev.payfrit.com "sudo cp /tmp/file /var/www/biz.payfrit.com/file"
# Bots repo
git push origin main && ssh dev.payfrit.com "sudo git -C /var/www/bots pull origin main"
Key URLs
Migration Status (2026-03-17)
- llm.payfrit.com: DELETED
- 6 CFM API endpoints: being migrated to PHP by @mike
- god.payfrit.com: staying on Lucee for now (VPN-only, low priority)
- Goal: shut down Lucee once CFM endpoints are migrated