From 7ab05f065138d6a259a27818c6e8e5463ef72150 Mon Sep 17 00:00:00 2001 From: atridadl Date: Wed, 17 Jan 2024 12:14:05 -0700 Subject: [PATCH] Update --- .dockerignore | 11 +++++++++++ fly.toml | 23 ++++++++++++++--------- 2 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..5421526 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,11 @@ +# flyctl launch added from .gitignore +**/node_modules +**/goth.stack +**/.env +**/airbin +**/tmp +**/*.rdb + +# flyctl launch added from stylegen/node_modules/tailwindcss/stubs/.gitignore +!stylegen/node_modules/tailwindcss/stubs/**/* +fly.toml diff --git a/fly.toml b/fly.toml index 82e7c68..c1cbfab 100644 --- a/fly.toml +++ b/fly.toml @@ -1,17 +1,22 @@ +# fly.toml app configuration file generated for goth-stack on 2024-01-17T12:09:47-07:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + app = "goth-stack" primary_region = "sea" [build] [http_service] -internal_port = 3000 -force_https = true -auto_stop_machines = true -auto_start_machines = true -min_machines_running = 1 -processes = ["app"] + internal_port = 3000 + force_https = true + auto_stop_machines = true + auto_start_machines = true + min_machines_running = 0 + processes = ["app"] [[vm]] -cpu_kind = "shared" -cpus = 1 -memory_mb = 256 \ No newline at end of file + cpu_kind = "shared" + cpus = 1 + memory_mb = 256