Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
gregv committed Nov 19, 2023
1 parent 66e847a commit 8832db7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 45 deletions.
8 changes: 8 additions & 0 deletions docs/deployment.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Initial setup

To create a new app, use the following two commands:
```
fly launch --name evs-production --org opportunity-hack -r sjc
fly deploy --app evs-production
```

# Deployment

## First time setup
Expand Down
52 changes: 7 additions & 45 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,55 +1,17 @@
# fly.toml app configuration file generated for evs-production on 2023-11-19T12:41:31-07:00
# fly.toml app configuration file generated for evs-production on 2023-11-19T14:55:25-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "evs"
primary_region = "sjc"
kill_signal = "SIGINT"
kill_timeout = "5s"

[experimental]
auto_rollback = true
[build]

[deploy]
release_command = "node ./other/sentry-create-release"

[env]
TZ = "US/Arizona"

[[mounts]]
source = "data"
destination = "/data"

[[services]]
protocol = "tcp"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]

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

[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 100
soft_limit = 80

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

[[services.http_checks]]
interval = "10s"
timeout = "2s"
grace_period = "5s"
restart_limit = 0
method = "get"
path = "/resources/healthcheck"
protocol = "http"

0 comments on commit 8832db7

Please sign in to comment.