-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize config with other projects.
- Loading branch information
Showing
7 changed files
with
34 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,25 @@ | ||
# fly.toml file generated for get5-api on 2021-09-01T00:02:30+02:00 | ||
|
||
app = "get5-api" | ||
|
||
kill_signal = "SIGINT" | ||
kill_timeout = 5 | ||
processes = [] | ||
primary_region = 'ams' | ||
kill_signal = 'SIGTERM' | ||
|
||
[env] | ||
PHX_HOST = 'get5-api.fly.dev' | ||
PORT = '8080' | ||
|
||
[deploy] | ||
release_command = '/app/bin/migrate' | ||
|
||
[experimental] | ||
allowed_public_ports = [] | ||
auto_rollback = true | ||
|
||
[[services]] | ||
internal_port = 4000 | ||
protocol = "tcp" | ||
|
||
[services.concurrency] | ||
hard_limit = 25 | ||
soft_limit = 20 | ||
|
||
[[services.ports]] | ||
handlers = ["http"] | ||
port = 80 | ||
|
||
[[services.ports]] | ||
handlers = ["tls", "http"] | ||
port = 443 | ||
|
||
[[services.tcp_checks]] | ||
grace_period = "30s" # allow some time for startup | ||
interval = "15s" | ||
restart_limit = 6 | ||
timeout = "2s" | ||
[http_service] | ||
internal_port = 8080 | ||
force_https = true | ||
auto_stop_machines = true | ||
auto_start_machines = true | ||
min_machines_running = 1 | ||
processes = ['app'] | ||
|
||
[http_service.concurrency] | ||
type = 'connections' | ||
hard_limit = 1000 | ||
soft_limit = 1000 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/bin/sh | ||
|
||
ip=$(grep fly-local-6pn /etc/hosts | cut -f 1) | ||
export RELEASE_DISTRIBUTION=name | ||
export RELEASE_NODE=$FLY_APP_NAME@$ip | ||
export ELIXIR_ERL_OPTIONS="-proto_dist inet6_tcp" | ||
# configure node for distributed erlang with IPV6 support | ||
export ERL_AFLAGS="-proto_dist inet6_tcp" | ||
export ECTO_IPV6="true" | ||
export DNS_CLUSTER_QUERY="${FLY_APP_NAME}.internal" | ||
export RELEASE_DISTRIBUTION="name" | ||
export RELEASE_NODE="${FLY_APP_NAME}-${FLY_IMAGE_REF##*-}@${FLY_PRIVATE_IP}" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.