1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
This commit is contained in:
Éric Gaspar 2023-09-13 15:19:28 +02:00
parent 691672e855
commit 51d2569b11
3 changed files with 5 additions and 6 deletions

View file

@ -4,11 +4,11 @@ After=network.target postgresql.service redis-server.service
[Service]
Type=simple
User=__APP__
Group=__APP__
Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=__INSTALL_DIR__/config
Environment="__YNH_NODE_LOAD_PATH__"
User=__APP__
Group=__APP__
ExecStart=__YNH_NODE__ __INSTALL_DIR__/dist/server
WorkingDirectory=__INSTALL_DIR__/
StandardOutput=syslog

View file

@ -17,7 +17,7 @@ admindoc = "https://docs.joinpeertube.org"
code = "https://github.com/Chocobozzz/PeerTube"
[integration]
yunohost = ">= 11.1.21"
yunohost = ">= 11.2"
architectures = "all"
multi_instance = false
ldap = true
@ -29,7 +29,6 @@ ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
full_domain = true
[install.init_main_permission]
type = "group"
@ -65,7 +64,7 @@ ram.runtime = "50M"
api.protected = true
[resources.apt]
packages = "prosody ffmpeg postgresql postgresql-contrib openssl g++ mailutils apt-transport-https"
packages = "prosody, ffmpeg, postgresql, postgresql-contrib, openssl, g++, mailutils, apt-transport-https"
extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
nodejs_version=18
nodejs_version=20
#=================================================
# PERSONAL HELPERS