1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

postgresql

This commit is contained in:
Éric Gaspar 2023-08-27 22:46:11 +02:00
parent b66adfd7b1
commit 69d01dbc32
2 changed files with 9 additions and 5 deletions

View file

@ -20,11 +20,12 @@
* https://www.npmjs.com/package/ueberdb2
*/
"dbType" : "redis",
"dbType" : "postgres",
"dbSettings" : {
"host" : "127.0.0.1",
"port" : 6379,
"database": "__REDIS_DB__"
"user" : "__DB_USER__",
"host" : "localhost",
"password": "__DB_PWD__",
"database": "__DB_NAME__",
},
/*

View file

@ -79,7 +79,7 @@ ram.runtime = "50M"
admin.auth_header = false
[resources.apt]
packages = "mariadb-server"
packages = "postgresql"
packages_from_raw_bash = """
if [[ "$export" == "libreoffice" ]]
@ -90,4 +90,7 @@ ram.runtime = "50M"
echo "abiword"
fi
"""
[resources.database]
type = "postgresql"