-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
33 lines (33 loc) · 973 Bytes
/
Copy pathrender.yaml
File metadata and controls
33 lines (33 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Render.com blueprint.
#
# NOTE: Render web services expose HTTP only — so on Render you get the HTTP
# /send API + admin UI, but NOT the public SMTP port. Use this if your callers
# speak HTTP (or run the SMTP listener elsewhere, e.g. localhost next to your app).
# For public SMTP, prefer Fly.io (deploy/fly.toml) or a VM.
services:
- type: web
name: cloudflare-smtp-gateway
runtime: docker
dockerfilePath: ./Dockerfile
healthCheckPath: /health
disk:
name: cmg-data
mountPath: /data
sizeGB: 1
envVars:
- key: BIND_HOST
value: 0.0.0.0
- key: HTTP_PORT
value: "10000" # Render injects PORT; set HTTP_PORT to match if needed
- key: DATA_DIR
value: /data
- key: CF_API_TOKEN
sync: false
- key: CF_ACCOUNT_ID
sync: false
- key: ALLOWED_FROM
sync: false
- key: HTTP_TOKEN
sync: false
- key: ADMIN_PASSWORD
sync: false