From 3067922a019a3cfb1a54ec472bba4fd20e453d0e Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Thu, 14 Nov 2024 14:29:29 +0100 Subject: [PATCH] feat: add unleash code --- apps/unleash/fly.toml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 apps/unleash/fly.toml diff --git a/apps/unleash/fly.toml b/apps/unleash/fly.toml new file mode 100644 index 00000000..6c606682 --- /dev/null +++ b/apps/unleash/fly.toml @@ -0,0 +1,30 @@ +# fly.toml app configuration file generated for branches-unleash on 2024-11-14T14:04:53+01:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = 'branches-unleash' +primary_region = 'arn' + +[build] + image = 'unleashorg/unleash-server:6.2.0' + +[env] + DATABASE_SSL = 'false' + UNLEASH_URL = 'https://branches-unleash.fly.dev/' + +[http_service] + internal_port = 4242 + force_https = true + auto_stop_machines = 'stop' + auto_start_machines = true + min_machines_running = 0 + processes = ['app'] + + [[http_service.checks]] + path = '/health' + +[[vm]] + memory = '1gb' + cpu_kind = 'shared' + cpus = 1 \ No newline at end of file