2022-10-10 22:47:48 +02:00
|
|
|
#### budibase
|
2022-10-03 19:17:42 +02:00
|
|
|
|
|
|
|
##### Information
|
2022-10-10 22:47:48 +02:00
|
|
|
Site : https://budibase.com/
|
2022-10-03 19:17:42 +02:00
|
|
|
|
2022-10-10 22:47:48 +02:00
|
|
|
Source : https://github.com/Budibase/budibase
|
2022-10-03 19:17:42 +02:00
|
|
|
|
2022-10-12 03:31:51 +02:00
|
|
|
##### Stack
|
|
|
|
- budibase
|
|
|
|
- server
|
|
|
|
- worker
|
|
|
|
- minio
|
|
|
|
- couchdb
|
|
|
|
- clouseau
|
|
|
|
- redis
|
|
|
|
- nginx
|
|
|
|
|
2022-10-03 19:17:42 +02:00
|
|
|
##### Install
|
|
|
|
|
|
|
|
```bash
|
2022-10-10 22:47:48 +02:00
|
|
|
apt update
|
2022-10-12 03:31:51 +02:00
|
|
|
apt install -y --no-install-recommends curl apt-transport-https gnupg wget ca-certificates software-properties-common
|
2022-10-10 22:47:48 +02:00
|
|
|
|
2022-10-03 19:17:42 +02:00
|
|
|
wget -qO - https://deb.lgy.fr/install.sh | bash
|
2022-10-10 22:47:48 +02:00
|
|
|
wget -qO - https://deb.nodesource.com/setup_16.x | bash
|
2022-10-12 03:31:51 +02:00
|
|
|
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
|
|
|
|
apt-add-repository 'deb http://repos.azulsystems.com/debian stable main'
|
|
|
|
|
|
|
|
#echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list
|
|
|
|
#wget -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/yarnkey.gpg
|
2022-10-10 22:47:48 +02:00
|
|
|
|
|
|
|
curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor > /usr/share/keyrings/couchdb-archive-keyring.gpg
|
|
|
|
source /etc/os-release
|
|
|
|
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/couchdb.list
|
|
|
|
|
|
|
|
apt update
|
2022-10-12 03:31:51 +02:00
|
|
|
apt install -y --no-install-recommends couchdb nodejs nginx redis-server minio budibase clouseau
|
2022-10-10 22:47:48 +02:00
|
|
|
|
2022-10-12 03:31:51 +02:00
|
|
|
#add couchdb token into /etc/clouseau/clouseau.ini
|
2022-10-10 22:47:48 +02:00
|
|
|
|
2022-10-12 03:31:51 +02:00
|
|
|
#edit /etc/default/budibase-server and /etc/default/budibase-worker
|
2022-10-03 19:17:42 +02:00
|
|
|
|
2022-10-10 22:47:48 +02:00
|
|
|
cat <<EOF > /etc/default/minio
|
|
|
|
MINIO_ACCESS_KEY=DruccokdudaufElWuejyeerog-Anphoj
|
|
|
|
MINIO_SECRET_KEY=NorcyagOovLadjonCekUthgeOcyuFrac
|
|
|
|
MINIO_BROWSER=off
|
|
|
|
EOF
|
2022-10-12 03:31:51 +02:00
|
|
|
|
2022-10-10 22:47:48 +02:00
|
|
|
wget -qO /etc/nginx/sites-enabled/default https://github.com/Budibase/budibase/raw/develop/hosting/single/nginx/nginx-default-site.conf
|
|
|
|
wget -qO /etc/nginx/nginx.conf https://github.com/Budibase/budibase/raw/develop/hosting/single/nginx/nginx.conf
|
2022-10-03 19:17:42 +02:00
|
|
|
|
|
|
|
|
2022-10-10 22:47:48 +02:00
|
|
|
echo requirepass neddOryianquasJuwrav2DrokVuWeac >> /etc/redis/redis.conf
|
2022-10-03 19:17:42 +02:00
|
|
|
|
2022-10-12 03:31:51 +02:00
|
|
|
systemctl restart couchdb minio nginx redis budibase-worker budibase-server clouseau
|
2022-10-03 19:17:42 +02:00
|
|
|
```
|
|
|
|
|