estack-deploy

Installation
SKILL.md

Deploy and operate Phoenix

Inspect the existing release process, hosting platform, Elixir/OTP pins, Repo, and deployment topology. Apply the task's authorization separately to code preparation and production execution. Preserve working infrastructure unless a change is requested.

Runtime configuration

Read deployment-provided secrets/URLs in config/runtime.exs when they must be resolved at boot. Compile-time configuration is evaluated when the release is built. Fail clearly for required settings, while allowing disabled integrations and ordinary tests to run without their credentials.

Use the generated project's endpoint server switch consistently (PHX_SERVER or explicit server: true); an environment variable does nothing unless config reads it. Do not require unrelated vendor credentials for release migration/eval commands.

Releases and builds

Use the project's generated release/Docker templates and pinned toolchain instead of copying an arbitrary image tag. Ensure configuration needed by dependency compilation is copied before compiling dependencies. Compile assets using the existing build, then assemble the release with required runtime libraries, certificates, locale, and an appropriate non-root user.

Mix is not normally included in a release. Use a release migration module and a deliberate migration job. See the complete release helper, adapting :my_app and the module name to the application. It supports repositories configured under :ecto_repos.

Run bin/my_app eval "MyApp.Release.migrate()" in the authorized deployment environment. Use separate backup/recovery and rollback plans; running a down migration can destroy data and is not a universal rollback strategy.

Rollout compatibility

Installs
1
GitHub Stars
31
First Seen
Oct 16, 2026