build fixes and static files fix, closes #28
This commit is contained in:
parent
bff2525c65
commit
6a44ef30a3
26 changed files with 91 additions and 39 deletions
12
fly.toml
12
fly.toml
|
|
@ -12,6 +12,7 @@ console_command = '/code/manage.py shell'
|
|||
|
||||
[deploy]
|
||||
release_command = 'bash deploy.sh'
|
||||
strategy = 'bluegreen'
|
||||
|
||||
[env]
|
||||
PORT = '8000'
|
||||
|
|
@ -24,9 +25,16 @@ console_command = '/code/manage.py shell'
|
|||
min_machines_running = 0
|
||||
processes = ['app']
|
||||
|
||||
[[http_service.checks]]
|
||||
grace_period = "15s"
|
||||
interval = "30s"
|
||||
method = "GET"
|
||||
timeout = "10s"
|
||||
path = "/health"
|
||||
|
||||
[[vm]]
|
||||
size = 'shared-cpu-4x'
|
||||
memory = '1gb'
|
||||
size = 'shared-cpu-8x'
|
||||
memory = '2gb'
|
||||
|
||||
[[statics]]
|
||||
guest_path = '/code/static'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue