-
Notifications
You must be signed in to change notification settings - Fork 232
Expand file tree
/
Copy pathkoyeb.yaml
More file actions
70 lines (68 loc) · 2.18 KB
/
koyeb.yaml
File metadata and controls
70 lines (68 loc) · 2.18 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
deploymentname: atassa-md
services:
- name: web
type: web
git:
branch: main
docker:
dockerfile: Dockerfile
target: ""
instance_types:
- type: nano
regions:
- was
ports:
- port: 5000
protocol: http
routes:
- path: /
port: 5000
health_checks:
- grace_period: 10
interval: 60
restart_limit: 3
path: /health
port: 5000
protocol: http
timeout: 5
env:
- key: SESSION_ID
value: ""
scopes:
- region:was
- key: MODE
value: public
scopes:
- region:was
- key: TIME_ZONE
value: Africa/Nairobi
scopes:
- region:was
- key: AUTO_LIKE_STATUS
value: "true"
scopes:
- region:was
- key: AUTO_READ_STATUS
value: "true"
scopes:
- region:was
- key: DATABASE_URL
value: ""
scopes:
- region:was
# ─────────────────────────────────────────────────────────────
# SETUP INSTRUCTIONS (Koyeb)
# ─────────────────────────────────────────────────────────────
# DATABASE (free options — Koyeb has no built-in Postgres):
# → Neon.tech : https://neon.tech (free tier, generous)
# → Supabase : https://supabase.com (free tier)
# → Aiven : https://aiven.io (free trial)
#
# 1. Create a free PostgreSQL database on one of the above.
# 2. Copy the connection string and set it as DATABASE_URL
# in the Koyeb service environment variables.
# 3. Set SESSION_ID to your Gifted~ session ID.
# 4. Deploy via Koyeb dashboard → "Create App" → "GitHub" → pick repo,
# or use the Koyeb CLI:
# koyeb app init atassa-md --config koyeb.yaml
# ─────────────────────────────────────────────────────────────