reorganizing build scripts

This commit is contained in:
badblocks 2025-04-17 12:21:21 -07:00
parent 633c1e87e8
commit b894b60b65
430 changed files with 136 additions and 53943 deletions

39
fly.toml Normal file
View file

@ -0,0 +1,39 @@
# fly.toml app configuration file generated for pocket-trade-dev on 2025-02-26T12:02:50-08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'pkmntrade-club'
primary_region = 'lax'
console_command = '/code/manage.py shell'
[build]
dockerfile = 'Dockerfile'
[deploy]
release_command = 'bash deploy.sh'
[env]
PORT = '8000'
[http_service]
internal_port = 8000
force_https = true
auto_stop_machines = 'suspend'
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[vm]]
size = 'shared-cpu-4x'
memory = '1gb'
[[statics]]
guest_path = '/code/static'
url_prefix = '/static/'
[[restart]]
policy = "on-failure"
retries = 10
processes = ["app"]