Add one-click deploy buttons for Render and Railway

Update render.yaml to use Docker runtime with IMAP env vars so the
deploy button prompts users for credentials. Add Railway deploy link.
This commit is contained in:
Kacper Kwapisz
2026-03-23 14:06:32 +01:00
parent a02b558654
commit 2f7853f2bf
2 changed files with 22 additions and 12 deletions
+14 -4
View File
@@ -2,6 +2,9 @@
An MCP server that bridges IMAP/SMTP email accounts to [Poke](https://poke.com). Provides AI agents with tools to search, read, send, and manage emails, and automatically forwards new incoming emails to the Poke inbound endpoint.
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/kacperkwapisz/poke-mail)
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/new/github?repo=https://github.com/kacperkwapisz/poke-mail)
## Features
- **12 MCP tools**: search, read, send, draft, archive, move, mark, list/create/rename/delete folders, server info
@@ -131,10 +134,17 @@ The GitHub Actions workflow automatically builds and pushes to `ghcr.io` on ever
### Render
1. Push to GitHub
2. Create a Web Service on Render connected to your repo
3. Add `MCP_API_KEY`, `POKE_API_KEY`, and `POKE_WEBHOOK_URL` as environment variables
4. Mount your `config.yml` as a secret file or set `CONFIG_PATH`
Click the **Deploy to Render** button above, or manually:
1. Create a Web Service on Render connected to your repo
2. Fill in `IMAP_HOST`, `IMAP_USERNAME`, `IMAP_PASSWORD`, `POKE_WEBHOOK_URL`, and `POKE_API_KEY`
3. `MCP_API_KEY` is auto-generated — copy it for your Poke connection settings
For multi-account setups, mount a `config.yml` as a secret file instead of using env vars.
### Railway
Click the **Deploy on Railway** button above, then set the same environment variables as Render.
## Poke Setup
+8 -8
View File
@@ -1,19 +1,19 @@
services:
- type: web
name: poke-mail
runtime: python
buildCommand: pip install -r requirements.txt
startCommand: python src/server.py
runtime: docker
plan: free
autoDeploy: false
envVars:
- key: ENVIRONMENT
value: production
- key: CONFIG_PATH
value: config.yml
- key: MCP_API_KEY
sync: false
generateValue: true
- key: POKE_WEBHOOK_URL
sync: false
- key: POKE_API_KEY
sync: false
- key: IMAP_HOST
sync: false
- key: IMAP_USERNAME
sync: false
- key: IMAP_PASSWORD
sync: false