mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
update
This commit is contained in:
parent
0275175c81
commit
8ed3f7d88b
4 changed files with 36 additions and 32 deletions
|
@ -8,6 +8,7 @@ User=__APP__
|
|||
Group=__APP__
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||
Environment="NODE_CONFIG_DIR=__INSTALL_DIR__/live/services/history-v1/config"
|
||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/history-v1/app.js
|
||||
StandardOutput=append:/var/log/__APP__/history-v1.log
|
||||
|
|
|
@ -57,7 +57,7 @@ const settings = {
|
|||
port: __PORT__,
|
||||
|
||||
allowAnonymousReadAndWriteSharing:
|
||||
process.env.SHARELATEX_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING === 'true',
|
||||
process.env.OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING === 'true',
|
||||
|
||||
// Databases
|
||||
// ---------
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
OVERLEAF_APP_NAME="YunoHost Overleaf Community Edition"
|
||||
SHARELATEX_PORT=__PORT__
|
||||
OVERLEAF_PORT=__PORT__
|
||||
|
||||
SHARELATEX_CONFIG="__INSTALL_DIR__/settings.js"
|
||||
OVERLEAF_CONFIG="__INSTALL_DIR__/settings.js"
|
||||
ADMIN_PRIVILEGE_AVAILABLE=true
|
||||
OPTIMISE_PDF=true
|
||||
NODE_ENV=production
|
||||
|
@ -22,6 +22,9 @@ OVERLEAF_SITE_LANGUAGE="__LANGUAGE__"
|
|||
|
||||
ENABLED_LINKED_FILE_TYPES=project_file,project_output_file
|
||||
|
||||
OVERLEAF_ALLOW_PUBLIC_ACCESS=true
|
||||
OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING=true
|
||||
|
||||
# Enables Thumbnail generation using ImageMagick
|
||||
ENABLE_CONVERSIONS=true
|
||||
|
||||
|
@ -41,17 +44,17 @@ OVERLEAF_BEHIND_PROXY=true
|
|||
OVERLEAF_SECURE_COOKIE=false
|
||||
|
||||
OVERLEAF_SITE_URL=https://__DOMAIN__
|
||||
# SHARELATEX_NAV_TITLE=Our Overleaf Instance
|
||||
# SHARELATEX_HEADER_IMAGE_URL=http://somewhere.com/mylogo.png
|
||||
# OVERLEAF_NAV_TITLE=Our Overleaf Instance
|
||||
# OVERLEAF_HEADER_IMAGE_URL=http://somewhere.com/mylogo.png
|
||||
OVERLEAF_ADMIN_EMAIL=__APP__@__DOMAIN__
|
||||
|
||||
# SHARELATEX_LEFT_FOOTER=[{"text":"Powered by Overleaf © 2021", "url": "https://www.overleaf.com"}, {"text": "Contact your support team", "url": "mailto:support@example.com"} ]
|
||||
# SHARELATEX_RIGHT_FOOTER=[{"text":"Hello I am on the Right"}]
|
||||
# OVERLEAF_LEFT_FOOTER=[{"text":"Powered by Overleaf © 2021", "url": "https://www.overleaf.com"}, {"text": "Contact your support team", "url": "mailto:support@example.com"} ]
|
||||
# OVERLEAF_RIGHT_FOOTER=[{"text":"Hello I am on the Right"}]
|
||||
|
||||
OVERLEAF_EMAIL_FROM_ADDRESS=__APP__@__DOMAIN__
|
||||
|
||||
# SHARELATEX_EMAIL_AWS_SES_ACCESS_KEY_ID=
|
||||
# SHARELATEX_EMAIL_AWS_SES_SECRET_KEY=
|
||||
# OVERLEAF_EMAIL_AWS_SES_ACCESS_KEY_ID=
|
||||
# OVERLEAF_EMAIL_AWS_SES_SECRET_KEY=
|
||||
|
||||
OVERLEAF_EMAIL_SMTP_HOST=__MAIN_DOMAIN__
|
||||
OVERLEAF_EMAIL_SMTP_PORT=587
|
||||
|
|
Loading…
Reference in a new issue