mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
Attempt to fix the db suffix thingy...
This commit is contained in:
parent
b445312f4e
commit
63433a0646
2 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,7 @@ database:
|
||||||
hostname: 'localhost'
|
hostname: 'localhost'
|
||||||
port: 5432
|
port: 5432
|
||||||
ssl: false
|
ssl: false
|
||||||
suffix: '__DB_NAME__'
|
suffix: '__DB_SUFFIX__'
|
||||||
username: '__DB_USER__'
|
username: '__DB_USER__'
|
||||||
password: '__DB_PWD__'
|
password: '__DB_PWD__'
|
||||||
pool:
|
pool:
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
nodejs_version=20
|
nodejs_version=20
|
||||||
|
# Obtain the (empty string), __2, __3, cf the DB suffix in production.yaml...
|
||||||
|
db_suffix="$(echo $app | sed 's/peertube//g')"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
Loading…
Add table
Reference in a new issue