From 98f18e8b60c1e77eb8615c504f5cf533d726426e Mon Sep 17 00:00:00 2001 From: "Dr. Gernot Starke" Date: Mon, 27 Nov 2023 08:16:07 +0100 Subject: [PATCH] update fly.toml to contain ENVIRONMENT variable --- fly.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fly.toml b/fly.toml index c20fa60..858a155 100644 --- a/fly.toml +++ b/fly.toml @@ -17,3 +17,8 @@ primary_region = "ams" auto_start_machines = true min_machines_running = 0 processes = ["app"] + +## using the environment to differentiate between PRODUCTION (aka fly.io) and DEVELOPMENT (aka localhost) + +[env] + ENVIRONMENT = "PRODUCTION" \ No newline at end of file