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
|
2022-10-13 23:28:24 +02:00
|
|
|
- couchdb and clouseau
|
2022-10-12 03:31:51 +02:00
|
|
|
- redis
|
|
|
|
- nginx
|
|
|
|
|
2022-10-13 23:28:24 +02:00
|
|
|
##### Install
|
|
|
|
|
|
|
|
Bellow the way to install all service on same server
|
2022-10-03 19:17:42 +02:00
|
|
|
|
|
|
|
```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-13 23:28:24 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
##### Configuration
|
|
|
|
|
|
|
|
```bash
|
2022-10-10 22:47:48 +02:00
|
|
|
|
2022-10-13 23:28:24 +02:00
|
|
|
#add couchdb token into /etc/clouseau/clouseau.ini
|
2022-10-03 19:17:42 +02:00
|
|
|
|
2022-10-13 23:28:24 +02:00
|
|
|
#edit bellow file with same value for same variable ( except port)
|
|
|
|
# - /etc/default/budibase-server
|
|
|
|
# - /etc/default/budibase-worker
|
|
|
|
# - /etc/default/minio
|
2022-10-12 03:31:51 +02:00
|
|
|
|
2022-10-13 23:28:24 +02:00
|
|
|
#Get Nginx sample configuration
|
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-13 23:28:24 +02:00
|
|
|
#add redis password password
|
2022-10-10 22:47:48 +02:00
|
|
|
echo requirepass neddOryianquasJuwrav2DrokVuWeac >> /etc/redis/redis.conf
|
2022-10-13 23:28:24 +02:00
|
|
|
```
|
2022-10-03 19:17:42 +02:00
|
|
|
|
2022-10-13 23:28:24 +02:00
|
|
|
##### Restart all service
|
|
|
|
|
|
|
|
```bash
|
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
|
|
|
```
|