mirror of
https://github.com/YunoHost-Apps/flohmarkt_ynh.git
synced 2024-09-03 18:36:30 +02:00
put 'bullseye' in manifest, generate flohmarkt couchdb password
This commit is contained in:
parent
1406e05519
commit
8b9bad576c
2 changed files with 4 additions and 9 deletions
|
@ -75,14 +75,6 @@ ram.runtime = "100M"
|
|||
ask.de = "Passwort für den admin Benutzer von CouchDB"
|
||||
help.de = "Bitte das Passwort notieren und aufheben! Dieses Passwort muss bei der Installation und bei zukünftigen Upgrades eingegeben werden. Wenn bereits eine CouchDB installiert ist, hier das Passwort der bestehenden Installation eingeben."
|
||||
|
||||
[install.password_couchdb_flohmarkt]
|
||||
# cochdb flohmarkt user password
|
||||
type = "password"
|
||||
ask.en = "CouchDB password for flohmarkt user"
|
||||
help.en = "This password will be used by flohmarkt during normal operation and is stored in its configuration file flohmarkt.conf"
|
||||
ask.de = "Passwort für den admin Benutzer von CouchDB"
|
||||
help.de = "Dieses Passwort wird von flohmarkt im normalen Betrieb verwendet und ist in der Konfigurationsdatei flohmarkt.conf gespeichert."
|
||||
|
||||
[install.mail_user]
|
||||
# @@ any type for this to make sure it can be used as the user part of an email address?
|
||||
default = "flohmarkt"
|
||||
|
@ -166,7 +158,7 @@ ram.runtime = "100M"
|
|||
# python dependencies shall be installed in a venv using pip.
|
||||
packages = "python3-pip python3-full curl apt-transport-https gnupg"
|
||||
# repo for couchdb
|
||||
extras.couchdb.repo = "deb https://apache.jfrog.io/artifactory/couchdb-deb/ $(lsb_release -c -s) main"
|
||||
extras.couchdb.repo = "deb https://apache.jfrog.io/artifactory/couchdb-deb/ bullseye main"
|
||||
extras.couchdb.key = "https://couchdb.apache.org/repo/keys.asc"
|
||||
extras.couchdb.packages = ["couchdb"]
|
||||
|
||||
|
|
|
@ -83,6 +83,9 @@ python3 -m venv --without-pip "$install_dir/venv"
|
|||
# JwtSecret
|
||||
jwtsecret=$(ynh_string_random --length=344 --filter='a-zA-Z0-9/+')
|
||||
|
||||
password_couchdb_flohmarkt=$(ynh_string_random --length=31 --filter='A-Za-z0-9_+/;.,')
|
||||
ynh_app_setting_set --app=$app --key=erlang_cookie --value="$password_couchdb_flohmarkt"
|
||||
|
||||
# generate flohmarkt.conf
|
||||
ynh_add_config --template="../conf/flohmarkt.conf" --destination="$install_dir/$app/flohmarkt.conf"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue