Add documentation

This commit is contained in:
Maciej 2026-03-01 13:22:29 +02:00
parent a597daa920
commit 64e1deca92
Signed by: maciej
GPG key ID: 28243AF437E32F99
6 changed files with 69 additions and 17 deletions

View file

@ -1,2 +0,0 @@
set PHX_SERVER=true
call "%~dp0\birdy_chat" start

View file

@ -6,7 +6,7 @@ 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 BIRDY_CHAT_PEERS="2::http://localhost:4002;3::http://localhost:4003"
export PHX_SERVER=true
export RELEASE_NAME=server_1
exec ./birdy_chat start

View file

@ -6,7 +6,7 @@ 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 BIRDY_CHAT_PEERS="1::http://localhost:4001g;3::http://localhost:4003"
export PHX_SERVER=true
export RELEASE_NAME=server_2
exec ./birdy_chat start

12
rel/overlays/bin/server_3 Executable file
View file

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