budibase/hosting/bootstrap.sh

21 lines
514 B
Bash
Raw Normal View History

2021-01-24 15:02:36 +01: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 10:49:07 +01:00
fetch_config_files
# Start budibase
2021-01-25 11:26:20 +01:00
docker-compose --env-file hosting.properties up -d