File size: 466 Bytes
c72beb6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ab70f4a
c72beb6
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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 --proxies http://brd-customer-hl_eceedea4-zone-datacenter_proxy1:e27i2z1j0uje@brd.superproxy.io:22225"

# Start the server
exec ./server ${ARG}