railway-optimified-tool-setup
Workspace
OTF
Created
2026-03-26
Updated
2026-03-26
Content
# Railway Tool Setup — Optimified
All tools use the `mike@optimified.com` Railway account with `mike@automeyt.com` invited for CLI access.
## General Deployment Pattern
1. **Deploy** from Railway template (mike@optimified.com account)
2. **Invite** mike@automeyt.com for CLI access
3. **Link** from CLI: `railway link -p {project-id} -w {workspace-id} -e production`
4. **Check** env vars and logs via CLI
5. **Custom domain** — add CNAME in Cloudflare (proxied), add custom domain in Railway on the correct service
6. **Update env vars** — set the public URL to the custom domain
7. **Document** — create/update tech asset in `data/tech-assets/` and Notion Tech Assets database
8. **Log** — append to `data/activity-log.jsonl`
## Services
| Tool | Domain | Project | Guide |
|---|---|---|---|
| Mattermost | comms.optimified.com | otf-mattermost | [[railway-setup-mattermost]] |
| Vaultwarden | vault.optimified.com | otf-vaultwarden-uptimekuma | [[railway-setup-vaultwarden]] |
| Uptime Kuma | uptime.optimified.com | otf-vaultwarden-uptimekuma | [[railway-setup-uptime-kuma]] |
| Penpot | design.optimified.com | otf-penpot | [[railway-setup-penpot]] |
| Umami | analytics.optimified.com | otf-umami | [[railway-setup-umami]] |
| Twenty CRM | crm.optimified.com | otf-twenty | [[railway-setup-twenty-crm]] |
| n8n | auto.optimified.com | otf-n8n | [[railway-setup-n8n]] |
## Railway CLI Reference
```bash
railway whoami
railway project list --json
railway link -p {project-id} -w {workspace-id} -e production
railway variable list --service {service-name}
railway variable set KEY="value" --service {service-name}
railway logs --service {service-name}
```
Workspace ID (mike@automeyt.com): `23af6505-cad8-4513-bca7-052f4a025080`
## Cloudflare DNS Pattern
All custom domains use Cloudflare-proxied CNAMEs on `optimified.com`. Target is the Railway-generated public domain for the relevant service.
## SMTP Pattern
All tools that support email use Resend:
| Setting | Value |
|---|---|
| Host | `smtp.resend.com` |
| Port | `587` |
| TLS | `true` / `starttls` |
| Username | `resend` |
| From | `noreply@alert.optimified.com` |
## Cost Estimate
| Project | Services | Est. Monthly |
|---|---|---|
| otf-mattermost | 2 | ~$5 |
| otf-vaultwarden-uptimekuma | 3 | ~$5 |
| otf-penpot | 6 | ~$10-15 |
| otf-umami | 3 | ~$5 |
| otf-twenty | 4 | ~$5-10 |
| otf-n8n | 4 | ~$5-10 |
| **Total** | **22** | **~$35-50/month** |