Реализованы сервисы ВМ2 - проверка сообщений и синхронизация с Б24 (деплой еще без перевода в боевой режим)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
DEPLOY_DIR=/opt/han-chat/services
|
||||
CONFIG_FILE=/opt/han-chat/services/.env
|
||||
LAUNCHER=/usr/local/lib/han-secrets-vm2/han-secrets
|
||||
|
||||
cd "$DEPLOY_DIR"
|
||||
exec /usr/bin/python3 "$LAUNCHER" run --config "$CONFIG_FILE" -- \
|
||||
/usr/bin/docker compose --env-file "$CONFIG_FILE" "$@"
|
||||
Reference in New Issue
Block a user