11 lines
287 B
Bash
11 lines
287 B
Bash
#!/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" "$@"
|