-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.api.toml
More file actions
38 lines (33 loc) · 1.04 KB
/
Copy pathfly.api.toml
File metadata and controls
38 lines (33 loc) · 1.04 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
# fly.api.toml app configuration file generated for telepost on 2025-01-26T09:15:30+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'telepost-api'
primary_region = 'fra'
[build]
dockerfile = 'api/Dockerfile'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = 'off'
auto_start_machines = true
min_machines_running = 1
kill_timeout = 3600
processes = ['app']
[env]
PORT = 8080
API_PUBLIC_URL = "https://telepost-api.fly.dev"
TELEGRAM_BOTNAME = "xpostmanbot"
ALLOWED_USERS = "kikoems"
ALLOWED_HOSTS = "telepost-api.fly.dev,telepost-bot.fly.dev"
CORS_ALLOWED_ORIGINS = "https://telepost-bot.fly.dev"
TWITTER_API_URL = "https://api.x.com"
TWITTER_REDIRECT_URI = "/auth/twitter/callback"
THREADS_API_URL = "https://api.threads.net"
THREADS_REDIRECT_URI = "/auth/threads/callback"
THREADS_SSL_CERT_FILEPATH = "/app/certs/cert.pem"
THREADS_SSL_KEY_FILEPATH = "/app/certs/key.pem"
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 384