mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Testing (#64)
* #39 * Update upgrade * Update manifest.json * Auto-update README * Update _common.sh * Update _common.sh * Cleaning up * Fix * Create DESCRIPTION.md * Auto-update README * Create updater.sh * Update updater.sh * Create updater.yml (#42) * Update upgrade * Update upgrade * Auto-update README * Update upgrade * Update upgrade * Apply example_ynh (#43) * Auto-update README * Apply example_ynh * Auto-update README * fix missing datadir * Fix missing phpversion * Update upgrade * Update check_process Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Auto-update README * 4.7.0 (#50) * 4.6.2 * Auto-update README * 4.7.0 * Auto-update README * Fix PHP * Update upgrade * Update restore * Update install * Update install * Update PHP to 8.1 * Update upgrade * Update install * Fix * Update ffprobe.patch * Update install * Update install * Update upgrade Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Upgrade auto-updater (#58) * [autopatch] Upgrade auto-updater * Auto-update README --------- Co-authored-by: tituspijean <titus@pijean.ovh> * Update .env.example * Version 2 (#61) * v2 * fix * v2 * Update manifest.toml * Auto-update README * Fix * Auto-update README * 4.7.2 * Auto-update README * Update install * Update manifest.toml * Update _common.sh * Update install * Update install * Update .env.example * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Fix * Update install * Update install * Update .env.example * Update install * Update install * Update install * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: tituspijean <titus@pijean.ovh>
This commit is contained in:
parent
491f3abd4a
commit
f7730d904b
6 changed files with 45 additions and 21 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
||||||
|
|
||||||
**Shipped version:** 4.7.2~ynh1
|
**Shipped version:** 4.7.2~ynh2
|
||||||
|
|
||||||
**Demo:** https://lycheeorg.github.io/demo/
|
**Demo:** https://lycheeorg.github.io/demo/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
|
|
||||||
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
||||||
|
|
||||||
**Version incluse :** 4.7.2~ynh1
|
**Version incluse :** 4.7.2~ynh2
|
||||||
|
|
||||||
**Démo :** https://lycheeorg.github.io/demo/
|
**Démo :** https://lycheeorg.github.io/demo/
|
||||||
|
|
||||||
|
|
|
@ -28,23 +28,47 @@ DB_USERNAME=__DB_USER__
|
||||||
DB_PASSWORD=__DB_PWD__
|
DB_PASSWORD=__DB_PWD__
|
||||||
DB_LOG_SQL=false
|
DB_LOG_SQL=false
|
||||||
|
|
||||||
|
# List foreign keys in diagnostic page
|
||||||
|
#DB_LIST_FOREIGN_KEYS=true
|
||||||
|
|
||||||
|
# Application timezone. If not specified, the server's default timezone is used.
|
||||||
|
# Requires a named timezone identifier.
|
||||||
|
# See https://www.php.net/manual/en/timezones.php for the list of supported timezones.
|
||||||
|
# Don't use a timezone offset (like +01:00) or a timezone abbreviation (like CEST)
|
||||||
TIMEZONE=__TIMEZONE__
|
TIMEZONE=__TIMEZONE__
|
||||||
|
|
||||||
|
# Visibility of directories and (media) files in LYCHEE_UPLOADS
|
||||||
|
# Possible values are:
|
||||||
|
#
|
||||||
|
# - private: world group has neither read nor write access
|
||||||
|
# - public: world group has read access but no write access (the default)
|
||||||
|
# - world: world group has read and write access
|
||||||
|
#
|
||||||
|
# The default should suffice for most installations.
|
||||||
|
# For improved security, change this setting to "private".
|
||||||
|
# Some rare setups may require directories and files to be world writeable.
|
||||||
|
# In this case, use "world" here.
|
||||||
|
# USE WITH PRECAUTIONS: world writeable files and folders may be a SECURITY RISK.
|
||||||
|
LYCHEE_IMAGE_VISIBILITY=public
|
||||||
|
|
||||||
# folders in which the files will be stored
|
# folders in which the files will be stored
|
||||||
LYCHEE_DIST="__INSTALL_DIR__/public/dist/"
|
|
||||||
LYCHEE_UPLOADS="__DATA_DIR__/uploads/"
|
LYCHEE_UPLOADS="__DATA_DIR__/uploads/"
|
||||||
|
LYCHEE_DIST="__INSTALL_DIR__/public/dist/"
|
||||||
|
# LYCHEE_SYM="/var/www/html/Lychee-Laravel/public/sym/"
|
||||||
# url to access those files
|
# url to access those files
|
||||||
# LYCHEE_DIST_URL="dist/"
|
|
||||||
# LYCHEE_UPLOADS_URL="uploads/"
|
# LYCHEE_UPLOADS_URL="uploads/"
|
||||||
|
# LYCHEE_DIST_URL="dist/"
|
||||||
|
# LYCHEE_SYM_URL="sym/"
|
||||||
|
|
||||||
|
# Support for token based authentication used by API requests. Enabled by default.
|
||||||
|
ENABLE_TOKEN_AUTH=false
|
||||||
|
|
||||||
BROADCAST_DRIVER=log
|
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
SESSION_DRIVER=file
|
SESSION_DRIVER=file
|
||||||
SESSION_LIFETIME=120
|
SESSION_LIFETIME=120
|
||||||
QUEUE_DRIVER=sync
|
|
||||||
|
|
||||||
SECURITY_HEADER_HSTS_ENABLE=false
|
SECURITY_HEADER_HSTS_ENABLE=false
|
||||||
|
SESSION_SECURE_COOKIE=false
|
||||||
|
|
||||||
REDIS_HOST=127.0.0.1
|
REDIS_HOST=127.0.0.1
|
||||||
REDIS_PASSWORD=null
|
REDIS_PASSWORD=null
|
||||||
|
@ -56,13 +80,15 @@ MAIL_PORT=
|
||||||
MAIL_USERNAME=
|
MAIL_USERNAME=
|
||||||
MAIL_PASSWORD=
|
MAIL_PASSWORD=
|
||||||
MAIL_ENCRYPTION=
|
MAIL_ENCRYPTION=
|
||||||
|
MAIL_FROM_NAME=
|
||||||
|
MAIL_FROM_ADDRESS=
|
||||||
|
|
||||||
PUSHER_APP_ID=
|
# The trusted proxies if Lychee is behind a reverse proxy
|
||||||
PUSHER_APP_KEY=
|
# Accepted values:
|
||||||
PUSHER_APP_SECRET=
|
# - `null`: no proxy
|
||||||
PUSHER_APP_CLUSTER=mt1
|
# - `*`: any proxy
|
||||||
|
# - <ip address>[,<ip address>]: a comma-seperated list of IP addresses
|
||||||
|
TRUSTED_PROXIES=null
|
||||||
|
|
||||||
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
# Comma-separated list of class names of diagnostics checks that should be skipped.
|
||||||
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
#SKIP_DIAGNOSTICS_CHECKS=
|
||||||
|
|
||||||
ENABLE_TOKEN_AUTH=false
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Lychee"
|
||||||
description.en = "Photo-management-system to manage and share photos"
|
description.en = "Photo-management-system to manage and share photos"
|
||||||
description.fr = "Système de gestion de photos pour gérer et partager des photos"
|
description.fr = "Système de gestion de photos pour gérer et partager des photos"
|
||||||
|
|
||||||
version = "4.7.2~ynh1"
|
version = "4.7.2~ynh2"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = ["eric_G"]
|
||||||
|
|
||||||
|
|
|
@ -66,10 +66,8 @@ ynh_script_progression --message="Creating a data directory..." --weight=1
|
||||||
mkdir -p $data_dir/uploads
|
mkdir -p $data_dir/uploads
|
||||||
mkdir -p $data_dir/uploads/{big,import,medium,raw,small,thumb}
|
mkdir -p $data_dir/uploads/{big,import,medium,raw,small,thumb}
|
||||||
|
|
||||||
chmod 775 "$data_dir/uploads/"
|
chgrp $app -R $install_dir/storage $install_dir/public/dist $install_dir/public/sym $data_dir/uploads
|
||||||
chmod 2775 "$data_dir/uploads/import/"
|
chmod -R 2775 $install_dir/storage/* $install_dir/app/* $install_dir/public/dist $install_dir/public/sym $data_dir/uploads $install_dir/bootstrap/
|
||||||
chmod -R o-rwx "$data_dir/uploads/"
|
|
||||||
chown -R $app:$app "$data_dir/uploads/"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL APP WITH COMPOSER
|
# INSTALL APP WITH COMPOSER
|
||||||
|
|
Loading…
Reference in a new issue