|
|
@@ -28,8 +28,7 @@ code = "https://codeberg.org/flohmarkt/flohmarkt"
|
|
|
yunohost = ">= 11.2.11"
|
|
|
architectures = "all"
|
|
|
# https://codeberg.org/ChriChri/flohmarkt_ynh/issues/11
|
|
|
-# multi_instance = true
|
|
|
-multi_instance = false
|
|
|
+multi_instance = true
|
|
|
|
|
|
# the "ldap" key corresponds to wether or not a user *can* login on the app using
|
|
|
# its YunoHost credentials.
|
|
|
@@ -108,8 +107,8 @@ ram.runtime = "100M"
|
|
|
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
|
|
# ynh_setup_source --dest_dir="$install_dir"
|
|
|
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
|
|
|
- url = "https://codeberg.org/flohmarkt/flohmarkt/archive/2c5ea313d9b04dad25649335f415af5ca484f262.tar.gz"
|
|
|
- sha256 = "ce08228e2e9e650925c53094bf9c02bac8cdcb03a931f262034802ce6541e1f7"
|
|
|
+ url = "https://codeberg.org/flohmarkt/flohmarkt/archive/78b2cc137d7c88d961e12dcb5017b17257bc4a71.tar.gz"
|
|
|
+ sha256 = "4acbfe20372583fdf75f4eea7b9c29d9ae20d04283559578f5e33f8347570c33"
|
|
|
|
|
|
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
|
|
|
# to auto-update the previous asset urls and sha256sum + manifest version
|
|
|
@@ -132,10 +131,8 @@ ram.runtime = "100M"
|
|
|
# @@ how to create a couchdb user if needed? in install-script manually?
|
|
|
|
|
|
[resources.install_dir]
|
|
|
- dir = "/opt/flohmarkt"
|
|
|
|
|
|
- # [resources.data_dir]
|
|
|
- # we'll take care of this inside the install script and save it to the settings
|
|
|
+ [resources.data_dir]
|
|
|
|
|
|
[resources.permissions]
|
|
|
# This will configure SSOwat permission for $domain/$path/
|
|
|
@@ -149,13 +146,16 @@ ram.runtime = "100M"
|
|
|
# uvicorn running the flohmarkt app will be started listening to this port
|
|
|
# if 'main.default' is already in use another random port will be used
|
|
|
main.default = 8000
|
|
|
- couchdb.default = 5984
|
|
|
+ # we'll rely on couchdb choosing the default port to listen to
|
|
|
+ # otherwise I'll set a new port for each flohmarkt that will be installed until the
|
|
|
+ # installation of couchdb is reworked by making it possible to do as a pure dependency
|
|
|
+ # couchdb.default = 5984
|
|
|
|
|
|
|
|
|
[resources.apt]
|
|
|
# python dependencies shall be installed in a venv using pip.
|
|
|
# moreutils is needed for `ts` used in systemd.service
|
|
|
- packages = "python3-pip python3-full curl apt-transport-https gnupg moreutils"
|
|
|
+ packages = "python3-pip python3-full curl apt-transport-https gnupg moreutils curl"
|
|
|
# repo for couchdb - doesn't work, yet
|
|
|
# extras.couchdb.repo = "deb https://apache.jfrog.io/artifactory/couchdb-deb/ __YNH_DEBIAN_VERSION__ main"
|
|
|
# extras.couchdb.key = "https://couchdb.apache.org/repo/keys.asc"
|