-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
22 lines (21 loc) · 748 Bytes
/
Copy pathrender.yaml
File metadata and controls
22 lines (21 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
services:
# Backend API Service
- type: web
name: deliverty-api
env: go
region: frankfurt
rootDir: backend
buildCommand: go mod download && go build -o api ./cmd/api
startCommand: ./api
envVars:
- key: DATABASE_URL
sync: false # Set this in Render dashboard to your Supabase Postgres URL
- key: TG_BOT_TOKEN
sync: false # Set this in Render dashboard
- key: TG_BOT_NAME
sync: false # Set this in Render dashboard (bot username without @)
- key: TG_DEEPLINK_SECRET
sync: false # Set this in Render dashboard (random secret string)
- key: HTTP_ADDR
value: :8080 # Optional, defaults to :8080 or uses PORT if set
healthCheckPath: /healthz