1
Fork 0

it's deployed

This commit is contained in:
Jan-Erik Rediger 2024-05-25 01:17:00 +02:00
parent 38cbf627dc
commit dd26912eee
2 changed files with 31 additions and 0 deletions

20
backend/fly.toml Normal file
View 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
View 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"
}
}
```