forked from mdesmedt/rust_one_weekend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hadean-config.toml
37 lines (33 loc) · 1.3 KB
/
hadean-config.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
args = "serve"
[requirements]
# Number of cores each user process uses, affects scheduling and
# machine allocation
cores = "1"
# Amount of memory required by each user process, same as above
memory = "8 MiB"
[tools]
# These features are not available in the freemium version of the
# Hadean SDK
tracing_enabled = false
debugging_enabled = false
metrics_enabled = false
[cloud-scaling]
# The number of machines to allocate in preparation for scaling up.
# 0 = always allocate just in time and scale down immediately
# 1 = keep a VM around between runs that makes rapid iteration easier
# 2+ = keep n VMs around between runs and always keep n-1 VMs on hand
# ready to use while your application is scaling
standby_machines = 2
machines_limit = 10
# The time (in seconds) after which all standby machines will be
# deallocated after an application has stopped.
machines_timeout = 3600
[[cloud-scaling.inbound-rules]]
# Inbound firewall rules that specify ports and protocols you want to have open.
# The rule below opens port 28888 for TCP connections, which will allow you to
# access the application from your browser
ports = "28888"
protocol = "TCP"
# The source CIDR block specifies where the traffic is allowd to come from.
# 0.0.0.0/0 is all IPv4 traffic from anywhere on the internet.
source = "0.0.0.0/0"