forked from tsai/budibase
committed by
GitHub
2 changed files with 25 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||||
|
#!/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 |
||||
|
} |
||||
|
|
||||
|
fetch_config_files |
||||
|
|
||||
|
# Start budibase |
||||
|
docker-compose --env-file hosting.properties up -d |
||||
Loading…
Reference in new issue