1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/umami_ynh.git synced 2024-10-01 13:34:50 +02:00
This commit is contained in:
Éric Gaspar 2023-04-26 10:49:04 +02:00
parent fad143691e
commit 036103b70a
4 changed files with 15 additions and 3 deletions

View file

@ -1,6 +1,15 @@
DATABASE_TYPE = postgresql
DATABASE_URL=postgresql://__DB_USER__:__DB_PWD__@localhost:5432/__DB_NAME__ DATABASE_URL=postgresql://__DB_USER__:__DB_PWD__@localhost:5432/__DB_NAME__
SKIP_DB_CHECK
DISABLE_TELEMETRY = 1 DISABLE_TELEMETRY = 1
HOSTNAME = __DOMAIN__ HOSTNAME = __DOMAIN__
PORT = __PORT__ PORT = __PORT__
BASE_PATH = __PATH__ BASE_PATH = __PATH__
REMOVE_TRAILING_SLASH = 1 REMOVE_TRAILING_SLASH = 1

View file

@ -5,4 +5,7 @@ location __PATH__/ {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
} }

View file

@ -9,7 +9,7 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
#Environment=NODE_ENV=production #Environment=NODE_ENV=production
Environment="__YNH_NODE_LOAD_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__YNH_NPM__ run start ExecStart=__YNH_NPM__ run start-env
# Sandboxing options to harden security # Sandboxing options to harden security
# Depending on specificities of your service/app, you may need to tweak these # Depending on specificities of your service/app, you may need to tweak these

View file

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