Migrate to fly.io, add Genre type

This commit is contained in:
2024-09-01 11:28:37 -06:00
parent c25a5230d9
commit 758cf386b4
8 changed files with 192 additions and 117 deletions

29
fly.toml Normal file
View File

@@ -0,0 +1,29 @@
# fly.toml app configuration file generated for us-api on 2024-09-01T10:29:03-06:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'us-api'
primary_region = 'den'
[build]
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[vm]]
size = 'shared-cpu-1x'
[env]
FILE_DEFAULT_TTL = "600"
S3_ENDPOINT="fly.storage.tigris.dev"
S3_PORT="443"
S3_USE_SSL="true"
S3_BUCKET="api-us-dev-prod"
REDIS_DB="0"
NODE_ENV="production"