Hop uses Nixpacks for automatic, configless
deployments. You can write a custom
Dockerfile if you don't want to use
Nixpacks.mix.exs file in your project root. Dependencies are installed with mix deps.get and the application is built with mix compile.
Clustering
Thanks to a community member, you can use libcluster directly with Hop to automatically cluster your Elixir applications. You can find thelibcluster_hop strategy here.
Versions
By default, the Elixir version for your project is inferred from theelixir version in your mix.exs file.
The following Elixir versions are available:
- latest (default)
- 1.12
- 1.11
- 1.10
- 1.9
Dockerfile.
Overriding the version
The version can be overridden by:- Setting the
ELIXIR_VERSIONenvironment variable