mirror of
https://github.com/YunoHost/yunohost_demo.git
synced 2024-09-03 19:56:44 +02:00
Update demo_lxc_build.sh
This commit is contained in:
parent
19cffd872b
commit
2d7e03f28d
1 changed files with 21 additions and 23 deletions
|
@ -73,54 +73,53 @@ ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost -v" | tee -a "$LOG_BU
|
|||
|
||||
ynh_print_info --message="> Installing demo apps" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
|
||||
if [ ${DONT_INSTALL_FOR_NOW:-0} -eq 1 ]; then
|
||||
# Ampache
|
||||
ynh_print_info --message="installing Ampache" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing ampache" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install ampache --force --args \"domain=$domain&path=/ampache&admin=$demo_user&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Baikal
|
||||
ynh_print_info --message="installing baikal" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing baikal" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install baikal --force --args \"domain=$domain&path=/baikal&password=$demo_password&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Agendav
|
||||
ynh_print_info --message="Installation d'agendav" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install agendav --force --args \"domain=$domain&path=/agendav&language=en&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Dokuwiki
|
||||
ynh_print_info --message="installing dokuwiki" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing dokuwiki" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install dokuwiki --force --args \"domain=$domain&path=/dokuwiki&admin=$demo_user&is_public=1&language=en&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Etherpad
|
||||
ynh_print_info --message="installing etherpad" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing etherpad" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install etherpad_mypads --force --args \"domain=$domain&path=/etherpad&admin=$demo_user&password=administration&language=en&is_public=1&export=none&mypads=1&useldap=0&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Hextris
|
||||
ynh_print_info --message="installing hextris" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing hextris" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install hextris --force --args \"domain=$domain&path=/hextris&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Jirafeau
|
||||
ynh_print_info --message="installing jirafeau" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing jirafeau" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install jirafeau --force --args \"domain=$domain&path=/jirafeau&admin_user=$demo_user&upload_password=$demo_password&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Kanboard
|
||||
ynh_print_info --message="installing kanboard" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing kanboard" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install kanboard --force --args \"domain=$domain&path=/kanboard&admin=$demo_user&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Nextcloud
|
||||
ynh_print_info --message="installing nextcloud" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing nextcloud" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install nextcloud --force --args \"domain=$domain&path=/nextcloud&admin=$demo_user&user_home=0&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Opensondage
|
||||
ynh_print_info --message="installing opensondage" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing opensondage" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install opensondage --force --args \"domain=$domain&path=/date&admin=$demo_user&language=en&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Phpmyadmin
|
||||
ynh_print_info --message="installing phpmyadmin" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing phpmyadmin" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install phpmyadmin --force --args \"domain=$domain&path=/phpmyadmin&admin=$demo_user&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Piwigo
|
||||
ynh_print_info --message="installing piwigo" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing piwigo" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install piwigo --force --args \"domain=$domain&path=/piwigo&admin=$demo_user&is_public=1&language=en&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Rainloop
|
||||
ynh_print_info --message="installing rainloop" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing rainloop" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install rainloop --force --args \"domain=$domain&path=/rainloop&is_public=No&password=$demo_password&ldap=Yes&language=en&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Roundcube
|
||||
ynh_print_info --message="installing roundcube" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing roundcube" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install roundcube --force --args \"domain=$domain&path=/webmail&with_carddav=0&with_enigma=0&language=en_GB&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Searx
|
||||
ynh_print_info --message="installing searx" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing searx" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install searx --force --args \"domain=$domain&path=/searx&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Shellinabox
|
||||
ynh_print_info --message="installing shellinabox" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing shellinabox" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install shellinabox --force --args \"domain=$domain&path=/ssh&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Désactive l'accès à shellinabox
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="rm /etc/nginx/conf.d/$domain.d/shellinabox.conf"
|
||||
|
@ -128,24 +127,23 @@ ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app setting shellinab
|
|||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app setting shellinabox domain -d"
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app ssowatconf"
|
||||
# Strut
|
||||
ynh_print_info --message="installing strut" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing strut" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install strut --force --args \"domain=$domain&path=/strut&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Transmission
|
||||
ynh_print_info --message="installing transmission" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing transmission" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install transmission --force --args \"domain=$domain&path=/torrent&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Ttrss
|
||||
ynh_print_info --message="installing ttrss" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing ttrss" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install ttrss --force --args \"domain=$domain&path=/ttrss&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Wallabag
|
||||
ynh_print_info --message="installing wallabag" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing wallabag" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install wallabag2 --force --args \"domain=$domain&path=/wallabag&admin=$demo_user&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Wordpress
|
||||
ynh_print_info --message="installing wordpress" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing wordpress" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install wordpress --force --args \"domain=$domain&path=/blog&admin=$demo_user&language=en_US&multisite=0&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
# Zerobin
|
||||
ynh_print_info --message="installing zerobin" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_print_info --message="Installing zerobin" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
ynh_lxc_run_inside --name="$lxc_name1" --command="yunohost app install zerobin --force --args \"domain=$domain&path=/zerobin&is_public=1&\"" | tee -a "$LOG_BUILD_LXC" 2>&1
|
||||
fi
|
||||
|
||||
# ********
|
||||
|
||||
|
|
Loading…
Reference in a new issue