bb26 / launch.sh
bobocup's picture
Update launch.sh
5fa86b0 verified
raw
history blame contribute delete
422 Bytes
#!/bin/sh
CONFIG_URL="$fetch"
echo "Downloading config.yaml from $CONFIG_URL..."
curl -o /app/config.yaml $CONFIG_URL
if [ $? -ne 0 ]; then
echo "Failed to download config.yaml"
exit 1
fi
echo "config.yaml downloaded successfully"
# Set any required environment variables (optional)
export ARG="--port 7860"
# Start the server
exec ./server ${ARG} --proxies http://yvighdwv-1:a5fyzm76khsv@p.webshare.io:80