it's deployed
This commit is contained in:
parent
38cbf627dc
commit
dd26912eee
20
backend/fly.toml
Normal file
20
backend/fly.toml
Normal file
|
@ -0,0 +1,20 @@
|
|||
# fly.toml app configuration file generated for hare-exec on 2024-05-25T00:23:54+02:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = 'hare-exec'
|
||||
primary_region = 'ams'
|
||||
|
||||
[build]
|
||||
|
||||
[http_service]
|
||||
internal_port = 8080
|
||||
force_https = true
|
||||
auto_stop_machines = true
|
||||
auto_start_machines = true
|
||||
min_machines_running = 0
|
||||
processes = ['app']
|
||||
|
||||
[[vm]]
|
||||
size = 'shared-cpu-1x'
|
11
backend/live.hurl
Normal file
11
backend/live.hurl
Normal file
|
@ -0,0 +1,11 @@
|
|||
POST https://hare-exec.fly.dev/v1/exec
|
||||
content-type: application/json
|
||||
```
|
||||
{
|
||||
"sandbox": "hare",
|
||||
"command": "run",
|
||||
"files": {
|
||||
"": "use fmt;\nexport fn main() void = {\nfmt::println(\"hello world\")!;\n};\n"
|
||||
}
|
||||
}
|
||||
```
|
Loading…
Reference in a new issue