Skip to content

Instantly share code, notes, and snippets.

@Kyu

Kyu/1log.log Secret

Last active March 17, 2023 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kyu/033be46dba7d1ec6f922850ed7e7e6f2 to your computer and use it in GitHub Desktop.
Save Kyu/033be46dba7d1ec6f922850ed7e7e6f2 to your computer and use it in GitHub Desktop.
2023-03-17T13:24:52.488 app[87728cdb] dfw [info] Starting clean up.
2023-03-17T13:24:57.692 runner[74cae2d5] dfw [info] Starting instance
2023-03-17T13:24:57.844 runner[74cae2d5] dfw [info] Configuring virtual machine
2023-03-17T13:24:57.846 runner[74cae2d5] dfw [info] Pulling container image
2023-03-17T13:24:58.910 runner[74cae2d5] dfw [info] Unpacking image
2023-03-17T13:24:59.845 runner[74cae2d5] dfw [info] Preparing kernel init
2023-03-17T13:25:00.320 runner[74cae2d5] dfw [info] Configuring firecracker
2023-03-17T13:25:00.367 runner[74cae2d5] dfw [info] Starting virtual machine
2023-03-17T13:25:00.691 app[74cae2d5] dfw [info] Starting init (commit: 08b4c2b)...
2023-03-17T13:25:00.715 app[74cae2d5] dfw [info] Preparing to run: `launcher gunicorn -b 0.0.0.0:8080 app.main:app --workers 1 --worker-class uvicorn.workers.UvicornWorker` as 1000
2023-03-17T13:25:00.729 app[74cae2d5] dfw [info] 2023/03/17 13:25:00 listening on [fdaa:1:896d:a7b:ed:74ca:e2d5:2]:22 (DNS: [fdaa::3]:53)
2023-03-17T13:25:01.793 app[74cae2d5] dfw [info] [2023-03-17 13:25:01 +0000] [520] [INFO] Starting gunicorn 20.1.0
2023-03-17T13:25:01.793 app[74cae2d5] dfw [info] [2023-03-17 13:25:01 +0000] [520] [INFO] Listening at: http://0.0.0.0:8080 (520)
2023-03-17T13:25:01.793 app[74cae2d5] dfw [info] [2023-03-17 13:25:01 +0000] [520] [INFO] Using worker: uvicorn.workers.UvicornWorker
2023-03-17T13:25:01.810 app[74cae2d5] dfw [info] [2023-03-17 13:25:01 +0000] [546] [INFO] Booting worker with pid: 546
2023-03-17T13:25:04.472 app[74cae2d5] dfw [info] [2023-03-17 13:25:04 +0000] [546] [INFO] Started server process [546]
2023-03-17T13:25:04.472 app[74cae2d5] dfw [info] [2023-03-17 13:25:04 +0000] [546] [INFO] Waiting for application startup.
2023-03-17T13:25:04.472 app[74cae2d5] dfw [info] [2023-03-17 13:25:04 +0000] [546] [INFO] Application startup complete.
2023-03-17T13:25:26.508 runner[89a703c6] dfw [info] Shutting down virtual machine
2023-03-17T13:25:26.564 app[89a703c6] dfw [info] Sending signal SIGINT to main child process w/ PID 520
2023-03-17T13:25:26.568 app[89a703c6] dfw [info] [2023-03-17 13:25:26 +0000] [520] [INFO] Handling signal: int
# fly.toml file generated on 2023-03-03T23:50:37-06:00
app = "name"
kill_signal = "SIGINT"
kill_timeout = 5
[processes]
web = "gunicorn -b 0.0.0.0:8080 app.main:app --workers 1 --worker-class uvicorn.workers.UvicornWorker"
[deploy]
release_command = "bash release.sh staging"
[build]
builder = "paketobuildpacks/builder:full"
[env]
env_args = "truncated"
[experimental]
auto_rollback = true
[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
alembic upgrade head
extra=$1
if [[ -n "$extra" ]]; then
title="deployed-api-$extra!"
else
title="deployed-api!"
fi
curl -XPOST "https://alertzy.app/send?accountKey=abc&title=${title}&message=<3"
App
Name = staging
Owner = personal
Version = 22
Status = running
Hostname = staging.fly.dev
Platform = nomad
Deployment Status
ID = id
Version = v22
Status = successful
Description = Deployment completed successfully
Instances = 1 desired, 1 placed, 1 healthy, 0 unhealthy
Instances
ID PROCESS VERSION REGION DESIRED STATUS HEALTH CHECKS RESTARTS CREATED
74cae2d5 web 22 dfw run running 0 8m43s ago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment