birdy_chat/rel/overlays/bin/server_2

12 lines
320 B
Bash
Executable file

#!/bin/sh
set -eu
cd -P -- "$(dirname -- "$0")"
export SECRET_KEY_BASE=Yhmq6FzYQt4g5AFHfSdMBKKf4oRo4KRo703FK6b7RwmH5pXlyQNompUOF7/EEC5t
export BIRDY_CHAT_PORT=4002
export BIRDY_CHAT_IDENTITY=2
export BIRDY_CHAT_PEERS=1::http://localhost:4001
export PHX_SERVER=true
export RELEASE_NAME=server_2
exec ./birdy_chat start