1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

Merge pull request #183 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2023-07-30 08:08:18 +01:00 committed by GitHub
commit 97433acad7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 11 deletions

View file

@ -26,7 +26,7 @@ Rocket.Chat is an open-source fully customizable communications platform develop
- Mobile Apps for [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) and [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
- Desktop Apps for [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) and [Windows](https://releases.rocket.chat/desktop/latest/download)
**Shipped version:** 6.2.8~ynh1
**Shipped version:** 6.2.9~ynh1
**Demo:** https://cloud.rocket.chat/trial

View file

@ -26,7 +26,7 @@ Rocket.Chat est une plate-forme de communication open source entièrement person
- Applications mobiles pour [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) et [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
- Applications de bureau pour [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) et [Windows](https://releases.rocket.chat/desktop/latest/download)
**Version incluse :** 6.2.8~ynh1
**Version incluse :** 6.2.9~ynh1
**Démo :** https://cloud.rocket.chat/trial

View file

@ -15,9 +15,9 @@ Environment=MONGO_URL=mongodb://localhost:27017/__APP__?replicaSet=rs01
Environment=MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01
Environment=ROOT_URL=https://__DOMAIN____PATH__
Environment=PORT=__PORT__
Environment=ADMIN_USERNAME=__ADMIN__
Environment=ADMIN_PASS=__PASSWORD__
Environment=ADMIN_EMAIL=__EMAIL__
Environment=ADMIN_USERNAME="__ADMIN__"
Environment=ADMIN_PASS="__PASSWORD__"
Environment=ADMIN_EMAIL="__EMAIL__"
Environment=OVERWRITE_SETTING_Show_Setup_Wizard=completed
# Sandboxing options to harden security

View file

@ -5,7 +5,7 @@ name = "Rocket.Chat"
description.en = "Team collaboration communication platform"
description.fr = "Plateforme de communication collaborative en équipe"
version = "6.2.8~ynh1"
version = "6.2.9~ynh1"
maintainers = ["eric_G"]
@ -51,8 +51,8 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://releases.rocket.chat/6.2.8/download"
sha256 = "7568ac839669938acdcd8f37d2e991afdeccd043af04ef957ac9166c0241a146"
url = "https://releases.rocket.chat/6.2.9/download"
sha256 = "f10db86c790f26fbeb01a3aa6e5462d81cf98868896d70264258d44712a2343a"
in_subdir = true
extract = true
rename = "rocket.chat.tgz"

View file

@ -105,7 +105,7 @@ ynh_mongo_exec() {
database=""
fi
mongosh --quiet --username $user --password $password --authenticationDatabase $authenticationdatabase --host $host --port $port <<EOF
mongo --quiet $user $password $authenticationdatabase $host $port <<EOF
$database
${command}
quit()
@ -119,7 +119,7 @@ EOF
database=""
fi
mongosh --quiet $database --username $user --password $password --authenticationDatabase $authenticationdatabase --host $host --port $port --eval="$command"
mongo --quiet $database $user $password $authenticationdatabase $host $port --eval="$command"
fi
}
@ -340,7 +340,7 @@ ynh_install_mongo() {
mongo_debian_release=buster
fi
ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $mongo_debian_release/mongodb-org/$mongo_version main" --package="mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc"
ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $mongo_debian_release/mongodb-org/$mongo_version main" --package="mongodb-org-server mongodb-org-shell mongodb-database-tools" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc"
mongodb_servicename=mongod
# Make sure MongoDB is started and enabled