update script to include upping all containers, most config is done.
This commit is contained in:
40
deploy.sh
40
deploy.sh
@@ -295,10 +295,6 @@ cd /opt/stacks/convertx
|
|||||||
docker compose up -d
|
docker compose up -d
|
||||||
echo "convertx has been launched from http://convert.$domain, verify it is online"
|
echo "convertx has been launched from http://convert.$domain, verify it is online"
|
||||||
|
|
||||||
cd /opt/stacks/downloader
|
|
||||||
docker compose up -d
|
|
||||||
echo "downloader has been launched from http://download.$domain, verify it is online"
|
|
||||||
|
|
||||||
cd /opt/stacks/wireguard
|
cd /opt/stacks/wireguard
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
echo "wireguard has been launched from http://vpn.$domain, verify it is online"
|
echo "wireguard has been launched from http://vpn.$domain, verify it is online"
|
||||||
@@ -324,6 +320,16 @@ cd /opt/stacks/bookstack
|
|||||||
docker compose up -d
|
docker compose up -d
|
||||||
echo "bookstack has been launched from http://docs.$domain, verify it is online (this may take a bit) and log in with email 'admin@admin.com' and password 'password', then reset this account to use $adminemail and your password"
|
echo "bookstack has been launched from http://docs.$domain, verify it is online (this may take a bit) and log in with email 'admin@admin.com' and password 'password', then reset this account to use $adminemail and your password"
|
||||||
|
|
||||||
|
#owncloud
|
||||||
|
# todo: use OC config commands to install addons and configure onlyoffice
|
||||||
|
cd /opt/stacks/owncloud
|
||||||
|
docker compose up -d
|
||||||
|
echo "owncloud has been launched from http://cloud.$domain, check if it is online and working, it may take a bit to launch. feel free to add marketplace plugins"
|
||||||
|
|
||||||
|
cd /opt/stacks/downloader
|
||||||
|
docker compose up -d
|
||||||
|
echo "downloader has been launched from http://download.$domain, verify it is online"
|
||||||
|
|
||||||
#browser
|
#browser
|
||||||
cd /opt/stacks/browser
|
cd /opt/stacks/browser
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
@@ -333,28 +339,14 @@ read -n 1 -s -r -p ""
|
|||||||
#jellyfin
|
#jellyfin
|
||||||
cd /opt/stacks/jellyfin
|
cd /opt/stacks/jellyfin
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
metadatacountry=$(get_country_from_timezone "$timezone")
|
echo "jellyfin has launched from http://video.$domain, perform the initial setup and press any key to continue"
|
||||||
|
read -n 1 -s -r -p ""
|
||||||
sleep 15
|
|
||||||
echo "running jellyfin configuration"
|
|
||||||
docker exec -it "jellyfin" \
|
|
||||||
sh -c "JFCLI_URI='http://localhost:8096' jfcli wizard \
|
|
||||||
--display-language 'EN_US' \
|
|
||||||
--admin-username '$adminemail' \
|
|
||||||
--admin-password '$adminpass' \
|
|
||||||
--metadata-language 'EN' \
|
|
||||||
--metadata-country '$metadatacountry' \
|
|
||||||
--allow-remote \
|
|
||||||
--disallow-upnp \
|
|
||||||
--listen-addr '0.0.0.0/0' \
|
|
||||||
--listen-port '8096'"
|
|
||||||
|
|
||||||
|
|
||||||
#uptimekuma
|
#uptimekuma
|
||||||
# todo: pre-create database, placeholder database, include database. for database preconfig: turn off auth so user can set password afterwards
|
cd /opt/stacks/kuma
|
||||||
|
docker compose up -d
|
||||||
#owncloud
|
echo "uptime kuma has been launched from http://status.$domain, perform the initial setup, choosing embedded mariaDB, then press any key to continue"
|
||||||
# todo: use OC config commands to install addons and configure onlyoffice
|
read -n 1 -s -r -p ""
|
||||||
|
|
||||||
#pihole
|
#pihole
|
||||||
systemctl restart systemd-resolved
|
systemctl restart systemd-resolved
|
||||||
|
|||||||
Reference in New Issue
Block a user