1
0
Fork 0
mirror of synced 2024-07-02 21:10:43 +12:00
budibase/hosting/bootstrap.sh

21 lines
514 B
Bash
Raw Normal View History

2021-01-25 03:02:36 +13:00
#!/usr/bin/env bash
GITHUB_BASE_URL=https://raw.githubusercontent.com/Budibase/budibase/master/hosting
if ! [ -x "$(command -v wget)" ]; then
echo 'Error: wget is not installed. Please install it for your operating system.' >&2
exit 1
fi
fetch_config_files() {
wget $GITHUB_BASE_URL/docker-compose.yaml
wget $GITHUB_BASE_URL/envoy.yaml
wget $GITHUB_BASE_URL/hosting.properties
wget $GITHUB_BASE_URL/start.sh
}
2021-01-25 22:49:07 +13:00
fetch_config_files
# Start budibase
2021-01-25 23:26:20 +13:00
docker-compose --env-file hosting.properties up -d