Questions tagged [distillery]

Elixir release manager

Pure-Elixir, dependency-free implementation of release packaging functionality for the Erlang VM.

51 questions
0
votes
0 answers

Elixir/Distillery: Remote IP Address Isn't Accurate In Deployed Applications

For testing, I have a simple controller to inspect the client's remote IP address: defmodule AppWeb.PageController do use AppWeb, :controller def index(conn, _params) do IO.inspect conn.remote_ip render conn, "index.html" …
nitomoe
  • 177
  • 1
  • 12
0
votes
1 answer

Running Migrations Automatically pre_start in Elixir-Distillery-Release on Windows

i need your help! im trying to run migrations in a distillery release (Elixir-Application) before the application starts automatically (via Boot Hooks -https://hexdocs.pm/distillery/boot-hooks.html#content). Development and Production platform must…
0
votes
1 answer

Running migrations with Docker Distillery releases

I am trying to deploy my Phoenix 1.3 application. I've setup mix docker release build. Now I am figuring out how to run migrations. I've decided to go with approach with making custom release command. I've created such MigrationTask: defmodule…
Haito
  • 2,039
  • 1
  • 24
  • 35
0
votes
1 answer

Using Amnesia with Distillery

Is it possible to use Amnesia with distillery. Because mix is unavailable in a distillery release, I am unsure how I would go about creating the mnesia db.
smycal
  • 1
0
votes
1 answer

How can I run executable release build in phoenix?

We are using distillery to create an executable build release in our phoenix application. We are using docker to deploy our application on Digital Ocean. Since we don't want to share code with the other machine we want to execute the build compiled…
punitcse
  • 717
  • 7
  • 27
0
votes
2 answers

Elixir app on VPS can't started from ssh on daemon mode

I've been built an app with Phoenix + Elixir and deploy it to server with distillery. Everything worked fine, until I try to create some bash script to automate deployment, FYI: I've been tried edeliver but it didn't fit my need. I'm always…
Dwi Prihandi
  • 57
  • 1
  • 6
1 2 3
4