update workflow and add ssh keys support
This commit is contained in:
parent
f3a8a8d757
commit
3947df9fbb
6 changed files with 69 additions and 12 deletions
|
|
@ -16,16 +16,20 @@ SESSION_TTL_HOURS=12
|
|||
|
||||
# Profils de lancement SSH.
|
||||
# Chaque serveur dans storage/servers.json reference un profil via startProfile.
|
||||
# Exemple: "startProfile": "GAME_1" utilise GAME_1_SSH_TARGET, GAME_1_SSH_PORT et GAME_1_START_COMMAND.
|
||||
# Exemple: "startProfile": "GAME_1" utilise GAME_1_SSH_TARGET, GAME_1_SSH_PORT,
|
||||
# GAME_1_SSH_KEY_FILE et GAME_1_START_COMMAND.
|
||||
# La cible peut etre un alias SSH, un hostname, une IP, ou user@host.
|
||||
# Exemples:
|
||||
# GAME_1_SSH_TARGET=game-server
|
||||
# GAME_1_SSH_PORT=2222
|
||||
# GAME_1_SSH_KEY_FILE=/home/app/.ssh/game-server-key
|
||||
# GAME_1_SSH_TARGET=user@192.0.2.10
|
||||
GAME_1_SSH_TARGET=game-server-1
|
||||
GAME_1_SSH_PORT=
|
||||
GAME_1_SSH_KEY_FILE=
|
||||
GAME_1_START_COMMAND="bash /opt/game-server-1/start.sh"
|
||||
|
||||
GAME_2_SSH_TARGET=game-server-2
|
||||
GAME_2_SSH_PORT=
|
||||
GAME_2_SSH_KEY_FILE=
|
||||
GAME_2_START_COMMAND="bash /opt/game-server-2/start.sh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue