1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00
This commit is contained in:
Thomas 2024-02-17 18:10:50 +01:00 committed by GitHub
parent 0275175c81
commit 8ed3f7d88b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 36 additions and 32 deletions

View file

@ -8,6 +8,7 @@ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
EnvironmentFile=__INSTALL_DIR__/variables.env 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" Environment="NODE_CONFIG_DIR=__INSTALL_DIR__/live/services/history-v1/config"
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/history-v1/app.js ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/history-v1/app.js
StandardOutput=append:/var/log/__APP__/history-v1.log StandardOutput=append:/var/log/__APP__/history-v1.log

View file

@ -21,4 +21,4 @@
"zipStore": { "zipStore": {
"bucket": "__DATA_DIR__/history/overleaf-zips" "bucket": "__DATA_DIR__/history/overleaf-zips"
} }
} }

View file

@ -57,7 +57,7 @@ const settings = {
port: __PORT__, port: __PORT__,
allowAnonymousReadAndWriteSharing: allowAnonymousReadAndWriteSharing:
process.env.SHARELATEX_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING === 'true', process.env.OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING === 'true',
// Databases // Databases
// --------- // ---------

View file

@ -1,7 +1,7 @@
OVERLEAF_APP_NAME="YunoHost Overleaf Community Edition" 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 ADMIN_PRIVILEGE_AVAILABLE=true
OPTIMISE_PDF=true OPTIMISE_PDF=true
NODE_ENV=production NODE_ENV=production
@ -22,6 +22,9 @@ OVERLEAF_SITE_LANGUAGE="__LANGUAGE__"
ENABLED_LINKED_FILE_TYPES=project_file,project_output_file 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 # Enables Thumbnail generation using ImageMagick
ENABLE_CONVERSIONS=true ENABLE_CONVERSIONS=true
@ -41,17 +44,17 @@ OVERLEAF_BEHIND_PROXY=true
OVERLEAF_SECURE_COOKIE=false OVERLEAF_SECURE_COOKIE=false
OVERLEAF_SITE_URL=https://__DOMAIN__ OVERLEAF_SITE_URL=https://__DOMAIN__
# SHARELATEX_NAV_TITLE=Our Overleaf Instance # OVERLEAF_NAV_TITLE=Our Overleaf Instance
# SHARELATEX_HEADER_IMAGE_URL=http://somewhere.com/mylogo.png # OVERLEAF_HEADER_IMAGE_URL=http://somewhere.com/mylogo.png
OVERLEAF_ADMIN_EMAIL=__APP__@__DOMAIN__ 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"} ] # OVERLEAF_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_RIGHT_FOOTER=[{"text":"Hello I am on the Right"}]
OVERLEAF_EMAIL_FROM_ADDRESS=__APP__@__DOMAIN__ OVERLEAF_EMAIL_FROM_ADDRESS=__APP__@__DOMAIN__
# SHARELATEX_EMAIL_AWS_SES_ACCESS_KEY_ID= # OVERLEAF_EMAIL_AWS_SES_ACCESS_KEY_ID=
# SHARELATEX_EMAIL_AWS_SES_SECRET_KEY= # OVERLEAF_EMAIL_AWS_SES_SECRET_KEY=
OVERLEAF_EMAIL_SMTP_HOST=__MAIN_DOMAIN__ OVERLEAF_EMAIL_SMTP_HOST=__MAIN_DOMAIN__
OVERLEAF_EMAIL_SMTP_PORT=587 OVERLEAF_EMAIL_SMTP_PORT=587