From 5fd9d1e09e552355c6c592621f96ae2109eccdaa Mon Sep 17 00:00:00 2001 From: iacore Date: Tue, 9 Jun 2026 13:38:50 +0800 Subject: [PATCH] terms-search: add fly.toml --- terms-search/.dockerignore | 4 ++++ terms-search/fly.toml | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 terms-search/.dockerignore create mode 100644 terms-search/fly.toml diff --git a/terms-search/.dockerignore b/terms-search/.dockerignore new file mode 100644 index 0000000..a8f42b4 --- /dev/null +++ b/terms-search/.dockerignore @@ -0,0 +1,4 @@ +# flyctl launch added from .gitignore +**/__pycache__ +**/__pypackages__ +fly.toml diff --git a/terms-search/fly.toml b/terms-search/fly.toml new file mode 100644 index 0000000..af3e833 --- /dev/null +++ b/terms-search/fly.toml @@ -0,0 +1,20 @@ +# fly.toml app configuration file generated for buddhist-terms-search on 2026-06-09T13:38:18+08:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = 'buddhist-terms-search' +primary_region = 'sin' + +[http_service] + internal_port = 8080 + force_https = true + auto_stop_machines = 'stop' + auto_start_machines = true + min_machines_running = 0 + processes = ['app'] + +[[vm]] + memory = '256mb' + cpus = 1 + memory_mb = 256