debmaker/ressources/budibase/README.MD
2023-09-02 22:51:34 +02:00

2.1 KiB

budibase

Information

Site : https://budibase.com/

Source : https://github.com/Budibase/budibase

Stack
  • budibase - server - worker
  • minio
  • couchdb and clouseau
  • redis
  • nginx
Install

Bellow the way to install all service on same server

apt update
apt install -y --no-install-recommends curl apt-transport-https gnupg wget ca-certificates software-properties-common

wget -qO - https://deb.lgy.fr/install.sh | bash
wget -qO - https://deb.nodesource.com/setup_18.x | bash
wget -qO - https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg
echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" > /etc/apt/sources.list.d/zulu.list




#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

wget -qO - 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
apt install -y --no-install-recommends couchdb nodejs nginx redis-server minio budibase clouseau

Configuration

#add couchdb token into /etc/clouseau/clouseau.ini

#edit  bellow file with same value for same variable ( except port)
# - /etc/default/budibase-server 
# - /etc/default/budibase-worker
# - /etc/default/minio

#Get Nginx sample configuration
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

#add redis password password 
echo requirepass neddOryianquasJuwrav2DrokVuWeac >> /etc/redis/redis.conf
Restart all service
systemctl restart couchdb minio nginx redis budibase-worker budibase-server clouseau