1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diacamma_ynh.git synced 2024-09-03 18:26:10 +02:00
This commit is contained in:
Laurent Gay 2023-12-11 18:04:18 +01:00
parent 3679a16794
commit 24ccff0aa2
2 changed files with 3 additions and 2 deletions

View file

@ -7,8 +7,9 @@ Type=simple
User=__APP__
Group=__APP__
Environment="DJANGO_SETTINGS_MODULE=__APP__.settings"
WorkingDirectory=__INSTALL_DIR__/
ExecStart=
ExecStart=__INSTALL_DIR__/virt/bin/gunicorn lucterios.framework.wsgi --bind 0.0.0.0:__PORT__ -w 1 --timeout 600 --access-logfile __INSTALL_DIR__/access.log --error-logfile __INSTALL_DIR__/error.log
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
Restart=on-failure

View file

@ -81,7 +81,7 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "libxml2-dev,libxslt-dev,libjpeg-dev,libfreetype6,libfreetype6-dev,zlib1g-dev,python3-pip,python3-dev,python3-tk,python3-pil,python3-dev,build-essential,pkg-config"
packages = "libxml2-dev,libxslt-dev,libjpeg-dev,libfreetype6,libfreetype6-dev,zlib1g-dev,python3-pip,python3-dev,python3-tk,python3-pil,python3-dev,build-essential,pkg-config,postgresql"
[resources.ports]
# This will pick a random port for reverse-proxying and store it as the $port setting