birdy_chat/rel/overlays/bin/server_1

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=4001
export BIRDY_CHAT_IDENTITY=1
export BIRDY_CHAT_PEERS=2::http://localhost:4002
export PHX_SERVER=true
export RELEASE_NAME=server_1
exec ./birdy_chat start