feat: Fly.io deployment and k8s-standard health endpoints#55
Closed
Taure wants to merge 3 commits intonovaframework:masterfrom
Closed
feat: Fly.io deployment and k8s-standard health endpoints#55Taure wants to merge 3 commits intonovaframework:masterfrom
Taure wants to merge 3 commits intonovaframework:masterfrom
Conversation
- Add multi-stage Dockerfile with ARG for erlang/rebar versions from .tool-versions - Add .dockerignore to keep build context clean - Use nova_jsonlogger in prod_sys.config for structured JSON logging - Add shutdown_delay and shutdown_drain_timeout config for graceful shutdown - Disable distributed Erlang by default in vm.args (commented out -sname/-setcookie) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace /heartbeat with /healthz and /readyz endpoints following k8s conventions. Add fly.toml template and rebar3 nova fly provider for one-command deploys to Fly.io. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add static file route for /assets/[...] in dev environment only, so rebar3 nova openapi output is accessible without manual routing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 tasks
Contributor
Author
|
Closing — Fly.io deployment extracted to standalone rebar3_fly plugin (https://github.com/Taure/rebar3_fly) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/heartbeatwith k8s-standard/healthz(liveness) and/readyz(readiness) endpointsfly.tomltemplate pre-configured with health checks, auto-stop, and sensible defaultsrebar3 nova flyprovider withinit,deploy, andstatusactions.tool-versionsfor Erlang/Rebar Docker build argspriv/assets/at/assets/[...]in dev environment for OpenAPI docs accessUsage
Test plan
🤖 Generated with Claude Code