Configuring Elixir

Discover our Public Cloud offer

Shared Hosting for Everyone, imagined by developers, for developers.

Discovering the Public Cloud

Supported versions

1.11 | 1.10 | 1.9 | 1.8 | 1.7 | 1.6

The default version can be changed from the administration section, under Environment > Elixir. This is the version that is especially used when you start mix.

Versions are not necessarily already installed.

Binary to use

To force the use of a different version of Elixir other than the default one, define the environment variable ELIXIR_VERSION:

$ ELIXIR_VERSION=1.7 elixir

In your scripts, use /usr/bin/elixir as shebang:



Your Elixir environment starts off empty, with no ready installed libraries.

HTTP deployment

To deploy an HTTP application with Elixir, create an Elixir type site in the Web > Sites section.

Elixir Site Type
Elixir Site Type

You need to specify the command that will start your Elixir application, for example:

mix $HOME/myapp/phx.server

Your application must absolutely listen to IP :: and the port shown in the site configuration in the Command field or use the IP and PORT environment variables.