Skip to content

Commit

Permalink
upgrade to flyctl version 0.2.28
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Apr 4, 2024
1 parent 21ee012 commit 0fc31af
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# fly.toml file generated for django-formset on 2023-09-08T22:13:46+02:00
# fly.toml app configuration file generated for django-formset-quiet-waterfall-43 on 2024-04-04T14:00:35+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "django-formset"
kill_signal = "SIGINT"
kill_timeout = 5
mounts = []
processes = []

[env]
PORT = "8080"
DJANGO_WORKDIR="/web/workdir"
DJANGO_MEDIA_ROOT="/web/workdir/media"
DJANGO_STATIC_ROOT="/web/staticfiles"
app = 'django-formset'
primary_region = 'ams'
console_command = '/web/manage.py shell'

[build]
dockerfile = ".deployment/Dockerfile"

[mounts]
source="workdir"
destination="/web/workdir"
source = 'workdir'
destination = '/web/workdir'

[env]
PORT = '8080'
DJANGO_WORKDIR = '/web/workdir'
DJANGO_MEDIA_ROOT = '/web/workdir/media'
DJANGO_STATIC_ROOT = '/web/staticfiles'

[[services]]
[http_service]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ['app']

[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[vm]]
memory = '512mb'
cpu_kind = 'shared'
cpus = 1

[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[statics]]
guest_path = '/web/static'
url_prefix = '/static/'

0 comments on commit 0fc31af

Please sign in to comment.