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 * https://www.npmjs.com/package/ueberdb2
*/ */
"dbType" : "redis", "dbType" : "postgres",
"dbSettings" : { "dbSettings" : {
"host" : "127.0.0.1", "user" : "__DB_USER__",
"port" : 6379, "host" : "localhost",
"database": "__REDIS_DB__" "password": "__DB_PWD__",
"database": "__DB_NAME__",
}, },
/* /*

View file

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