-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathfly.development.toml
More file actions
66 lines (56 loc) · 1.46 KB
/
fly.development.toml
File metadata and controls
66 lines (56 loc) · 1.46 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
app = 'semble-development'
primary_region = 'yyz'
[build]
[processes]
web = "sh -c 'PROCESS_TYPE=web npm start'"
feed-worker = "sh -c 'PROCESS_TYPE=feed-worker npm run worker:feeds'"
search-worker = "sh -c 'PROCESS_TYPE=search-worker npm run worker:search'"
firehose-worker = "sh -c 'PROCESS_TYPE=firehose-worker npm run worker:firehose'"
notification-worker = "sh -c 'PROCESS_TYPE=notification-worker npm run worker:notifications'"
sync-worker = "sh -c 'PROCESS_TYPE=sync-worker npm run worker:sync'"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['web']
[[vm]]
memory = '512mb'
cpu_kind = 'shared'
cpus = 1
[[vm]]
processes = ['feed-worker']
memory = '256mb'
cpu_kind = 'shared'
cpus = 1
[[vm]]
processes = ['search-worker']
memory = '256mb'
cpu_kind = 'shared'
cpus = 1
[[vm]]
processes = ['firehose-worker']
memory = '512mb'
cpu_kind = 'shared'
cpus = 1
auto_stop_machines = false
min_machines_running = 1
[[vm]]
processes = ['notification-worker']
memory = '256mb'
cpu_kind = 'shared'
cpus = 1
[[vm]]
processes = ['sync-worker']
memory = '512mb'
cpu_kind = 'shared'
cpus = 1
[env]
NODE_ENV="dev"
BASE_URL="https://api.dev.semble.so"
HOST="0.0.0.0"
APP_URL="https://dev.semble.so"
ACCESS_TOKEN_EXPIRES_IN=300
REFRESH_TOKEN_EXPIRES_IN=2592000
ATPROTO_FIREHOSE_WEBSOCKET="wss://relay1.us-west.bsky.network"