-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfly.toml
43 lines (35 loc) · 870 Bytes
/
fly.toml
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
app = "cookware"
primary_region = "lhr"
[build]
dockerfile = "Dockerfile"
[build.args]
VITE_API_SERVICE = "recipes.blue"
[processes]
web = "bash -c 'cd apps/api && node dist/index.js'"
ingester = "bash -c 'cd apps/ingester && node dist/index.js'"
[env]
CORS_ORIGINS = "https://recipes.blue,http://127.0.0.1:5173"
[deploy]
release_command = "bash -c 'cd libs/database && pnpm db:migrate'"
[[vm]]
size = "shared-cpu-1x"
memory = 256
processes = ["web"]
[[vm]]
size = "shared-cpu-1x"
memory = 256
processes = ["ingester"]
[[services]]
http_checks = []
processes = ["web"]
internal_port = 8080
[[services.ports]]
handlers = ["http"]
port = 80
force_https = true
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[statics]]
guest_path = "/usr/src/app/apps/web/dist"
url_prefix = "/"