Skip to content

Commit

Permalink
fly.tomlファイルからbuildの項目を削除しました
Browse files Browse the repository at this point in the history
  • Loading branch information
fukayatti committed Oct 20, 2024
1 parent 85ce437 commit bbfa23a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 23 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# flyctl launch added from .gitignore
**/.env
fly.toml
55 changes: 32 additions & 23 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,47 @@
app = "Closed-Lecture-NITIC"
kill_signal = "SIGINT"
kill_timeout = 5
# fly.toml app configuration file generated for closed-lecture-nitic-empty-feather-1836 on 2024-10-20T17:26:26+09:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

[build]
dockerfile = "Dockerfile"

[env]
app = 'closed-lecture-nitic-empty-feather-1836'
primary_region = 'nrt'
kill_signal = 'SIGINT'
kill_timeout = '5s'

[experimental]
auto_rollback = true

[[services]]
http_checks = []
[http_service]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']

[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services]]
protocol = 'tcp'
internal_port = 8080
processes = ['app']

[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
handlers = ['http']
force_https = true

[[services.ports]]
handlers = ["tls", "http"]
port = 443
handlers = ['tls', 'http']

[services.concurrency]
type = 'connections'
hard_limit = 25
soft_limit = 20

[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
interval = '15s'
timeout = '2s'
grace_period = '1s'

[[vm]]
size = 'shared-cpu-1x'

0 comments on commit bbfa23a

Please sign in to comment.