Skip to content
Permalink
Browse files

Add CONTAINER_IP env variable getter.

  • Loading branch information...
olefav committed Jun 27, 2019
1 parent 868c48d commit 9d90104442ea5bc7a6feaa33e4ab0811eaf33cf0
Showing with 6 additions and 0 deletions.
  1. +2 −0 rel/config.exs
  2. +4 −0 rel/hooks/pre_configure.d/generate_vm_args.sh
@@ -39,6 +39,8 @@ environment :prod do
set include_src: false
set cookie: :"]~enlGbLL2z_DVkjpyFgSkP9mv`KN5bFKF&hIQ_r}@5B5VE_5wS@7GR(?(n4WHv?"
set vm_args: "rel/vm.args"

set pre_configure_hooks: "rel/hooks/pre_configure.d"
end

# You may define one or more releases in this file.
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# hooks/pre_configure.d/generate_vm_args.sh

export CONTAINER_IP=$(hostname -i)

0 comments on commit 9d90104

Please sign in to comment.
You can’t perform that action at this time.