add cloudbeaver
This commit is contained in:
parent
eaeb8ed670
commit
f6de507351
27
README.MD
27
README.MD
|
@ -44,8 +44,9 @@ To enter in temporary filesystem
|
||||||
### packages available in shared repository
|
### packages available in shared repository
|
||||||
|
|
||||||
- [adguardhome](./ressources/adguardhome)
|
- [adguardhome](./ressources/adguardhome)
|
||||||
- [authelia](#authelia) ([site](https://www.authelia.com/)) ([src](https://github.com/authelia/authelia))
|
- [authelia](./ressource/authelia)
|
||||||
- [bitwarden-desktop](#bitwarden-desktop) ([site](https://bitwarden.com/)) ([src](https://github.com/bitwarden/clients/))
|
- [bitwarden-desktop](./ressource/bitwarden-desktop)
|
||||||
|
- [cloudbeaver](./ressources/cloudbeaver)
|
||||||
- [element-web](#element-web) ([site](https://element.io/)) ([src](https://github.com/vector-im/element-web))
|
- [element-web](#element-web) ([site](https://element.io/)) ([src](https://github.com/vector-im/element-web))
|
||||||
- [flame](#flame) ([site](https://github.com/pawelmalak/flame)) ([src](https://github.com/pawelmalak/flame))
|
- [flame](#flame) ([site](https://github.com/pawelmalak/flame)) ([src](https://github.com/pawelmalak/flame))
|
||||||
- [gitea](#gitea) ([site](https://gitea.io)) ([src](https://github.com/go-gitea/gitea/))
|
- [gitea](#gitea) ([site](https://gitea.io)) ([src](https://github.com/go-gitea/gitea/))
|
||||||
|
@ -57,6 +58,7 @@ To enter in temporary filesystem
|
||||||
- [mautrix-syncproxy and mautrix-wsproxy](#mautrix-syncproxy-and-mautrix-wsproxy) ([site](https://docs.mau.fi/bridges/go/imessage/android/setup.html)) ([src](https://github.com/mautrix/syncproxy)) ([src](https://github.com/mautrix/wsproxy))
|
- [mautrix-syncproxy and mautrix-wsproxy](#mautrix-syncproxy-and-mautrix-wsproxy) ([site](https://docs.mau.fi/bridges/go/imessage/android/setup.html)) ([src](https://github.com/mautrix/syncproxy)) ([src](https://github.com/mautrix/wsproxy))
|
||||||
- [mautrix-whatsapp](#mautrix-whatsapp) ([site](https://docs.mau.fi/bridges/go/whatsapp/index.html)) ([src](https://github.com/mautrix/whatsapp))
|
- [mautrix-whatsapp](#mautrix-whatsapp) ([site](https://docs.mau.fi/bridges/go/whatsapp/index.html)) ([src](https://github.com/mautrix/whatsapp))
|
||||||
- [metabase](#metabase) ([site](https://www.metabase.com/)) ([src](https://github.com/metabase/metabase))
|
- [metabase](#metabase) ([site](https://www.metabase.com/)) ([src](https://github.com/metabase/metabase))
|
||||||
|
- [phpbb](./ressource/phpbb)
|
||||||
- [roundcubemail](#roundcubemail) ([site](https://roundcube.net/)) ([src](https://github.com/roundcube/roundcubemail))
|
- [roundcubemail](#roundcubemail) ([site](https://roundcube.net/)) ([src](https://github.com/roundcube/roundcubemail))
|
||||||
- [rss-bridge](#rss-bridge) ([site](https://github.com/rss-bridge/rss-bridge)) ([src](https://github.com/RSS-Bridge/rss-bridge))
|
- [rss-bridge](#rss-bridge) ([site](https://github.com/rss-bridge/rss-bridge)) ([src](https://github.com/RSS-Bridge/rss-bridge))
|
||||||
- [rustdesk-server](#rustdesk-server) ([site](https://rustdesk.com/)) ([src](https://github.com/rustdesk/rustdesk-server))
|
- [rustdesk-server](#rustdesk-server) ([site](https://rustdesk.com/)) ([src](https://github.com/rustdesk/rustdesk-server))
|
||||||
|
@ -66,27 +68,6 @@ To enter in temporary filesystem
|
||||||
- [zigbee2mqtt](#zigbee2mqtt) ([site](https://www.zigbee2mqtt.io/)) ([src](https://github.com/Koenkk/zigbee2mqtt))
|
- [zigbee2mqtt](#zigbee2mqtt) ([site](https://www.zigbee2mqtt.io/)) ([src](https://github.com/Koenkk/zigbee2mqtt))
|
||||||
|
|
||||||
|
|
||||||
#### authelia
|
|
||||||
```bash
|
|
||||||
apt install -y wget ca-certificates
|
|
||||||
wget -qO - https://deb.lgy.fr/install.sh | bash
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y authelia
|
|
||||||
|
|
||||||
#Edit /etc/authelia/configuration.yml
|
|
||||||
|
|
||||||
systemctl enable --now authelia
|
|
||||||
```
|
|
||||||
|
|
||||||
#### bitwarden-desktop
|
|
||||||
|
|
||||||
```bash
|
|
||||||
apt install -y wget ca-certificates
|
|
||||||
wget -qO - https://deb.lgy.fr/install.sh | bash
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y bitwarden-desktop
|
|
||||||
```
|
|
||||||
|
|
||||||
#### element-web
|
#### element-web
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
#### authelia
|
||||||
|
|
||||||
|
##### Information
|
||||||
|
Site : https://www.authelia.com/
|
||||||
|
|
||||||
|
Source : https://github.com/authelia/authelia
|
||||||
|
|
||||||
|
##### Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apt install -y wget ca-certificates
|
||||||
|
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y authelia
|
||||||
|
|
||||||
|
#Edit /etc/authelia/configuration.yml
|
||||||
|
|
||||||
|
systemctl enable --now authelia
|
||||||
|
```
|
|
@ -0,0 +1,15 @@
|
||||||
|
#### bitwarden-desktop
|
||||||
|
|
||||||
|
##### Information
|
||||||
|
Site : https://bitwarden.com/
|
||||||
|
|
||||||
|
Source : https://github.com/bitwarden/clients/
|
||||||
|
|
||||||
|
##### Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apt install -y wget ca-certificates
|
||||||
|
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y bitwarden-desktop
|
||||||
|
```
|
|
@ -0,0 +1,19 @@
|
||||||
|
#### cloudbeaver
|
||||||
|
|
||||||
|
##### Information
|
||||||
|
Site : https://cloudbeaver.io/
|
||||||
|
|
||||||
|
Source : https://github.com/dbeaver/cloudbeaver
|
||||||
|
|
||||||
|
##### Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apt install -y wget ca-certificates
|
||||||
|
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y cloudbeaver
|
||||||
|
|
||||||
|
systemctl enable --now cloudbeaver
|
||||||
|
|
||||||
|
#configuration with http://<ip>:8978
|
||||||
|
```
|
|
@ -0,0 +1,36 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=21.3.3
|
||||||
|
APP=cloudbeaver
|
||||||
|
DEPOT=https://github.com/dbeaver/cloudbeaver.git
|
||||||
|
GIT_VERSION=last
|
||||||
|
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||||
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
|
IMAGE_SIZE=5
|
||||||
|
PACKAGE_DEPENDENCY="nodejs yarn maven openjdk-11-jdk"
|
||||||
|
|
||||||
|
STEP="base_package_upgrade envinit get_git_source build makedeb"
|
||||||
|
|
||||||
|
envinit() {
|
||||||
|
configure_depot_yarn
|
||||||
|
configure_depot_nodejs 14.x
|
||||||
|
install_package_dependency
|
||||||
|
npm install -g lerna
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd /tmp/${APP}/deploy
|
||||||
|
./build.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
makedeb(){
|
||||||
|
PATH_DEB=/tmp/src/rootfs
|
||||||
|
|
||||||
|
cp -fr /tmp/${APP}/deploy/cloudbeaver ${PATH_DEB}/usr/share/
|
||||||
|
|
||||||
|
mv ${PATH_DEB}/usr/share/cloudbeaver/workspace ${PATH_DEB}/var/lib/cloudbeaver/
|
||||||
|
ln -s /var/lib/cloudbeaver/workspace ${PATH_DEB}/usr/share/cloudbeaver/workspace
|
||||||
|
|
||||||
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/default/cloudbeaver
|
|
@ -0,0 +1,7 @@
|
||||||
|
Package: cloudbeaver
|
||||||
|
Version: %VERSION%
|
||||||
|
Section: base
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||||
|
Description: cloudbeaver
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
id cloudbeaver &> /dev/null || useradd cloudbeaver -r -s /bin/false -d /var/lib/cloudbeaver
|
||||||
|
|
||||||
|
chown -R cloudbeaver:cloudbeaver /var/lib/cloudbeaver
|
|
@ -0,0 +1 @@
|
||||||
|
CLOUDBEAVER_HOME=/usr/share/cloudbeaver/
|
|
@ -0,0 +1,15 @@
|
||||||
|
[Unit]
|
||||||
|
Description=cloudbeaver
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=exec
|
||||||
|
User=cloudbeaver
|
||||||
|
EnvironmentFile=-/etc/default/cloudbeaver
|
||||||
|
ExecStart=/usr/share/cloudbeaver/run-server.sh
|
||||||
|
WorkingDirectory=/var/lib/cloudbeaver
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=30s
|
||||||
|
ReadWritePaths=/var/lib/cloudbeaver
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -0,0 +1,20 @@
|
||||||
|
#### phpbb
|
||||||
|
|
||||||
|
##### Information
|
||||||
|
Site : https://www.phpbb.com/
|
||||||
|
|
||||||
|
Source : https://github.com/phpbb/phpbb
|
||||||
|
|
||||||
|
##### Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apt install -y wget ca-certificates
|
||||||
|
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||||||
|
apt-get update
|
||||||
|
|
||||||
|
apt-get install -y phpbb phpbb-install
|
||||||
|
|
||||||
|
#after configuration
|
||||||
|
|
||||||
|
apt-get purge -y phpbb-install
|
||||||
|
```
|
Loading…
Reference in New Issue