2024-09-23 19:45:14 -06:00
# Lychee Photo Gallery
https://github.com/LycheeOrg/Lychee
### Command to fetch script
```
fetch https://raw.githubusercontent.com/tschettervictor/bsd-apps/main/lychee/lychee-install.sh
```
Don't forget to
```
chmod +x lychee-install.sh
```
## Install Notes
2024-09-29 12:46:24 -06:00
- APP_URL inside the `.env` file must be set to the IP or hostname you use to access you installation, or you will encounter errors
2024-09-23 19:45:14 -06:00
## Variables
2024-09-29 12:46:24 -06:00
These are the variables that are available to change along with their defaults and a description of what they do. Other variables should be left at defalut unless you have a good reason to change them.
2024-09-23 19:45:14 -06:00
PHP_VERSION
2024-09-29 12:46:24 -06:00
- php version to use (currently defaults to 83)
2024-09-23 19:45:14 -06:00
MARIADB_VERSION
2024-09-29 12:46:24 -06:00
- mariadb version to use (currently defaults to 106)
2024-09-23 19:45:14 -06:00
2024-09-29 17:16:57 -06:00
APP_VERSION
2024-09-29 12:46:24 -06:00
- lychee version to download (currently defaults to 5.5.1)
2024-09-24 09:38:02 -06:00
TIME_ZONE
2024-09-29 12:46:24 -06:00
- (sets the timezone, see http://php.net/manual/en/timezones.php)
- must be set or script will exit
2024-09-24 09:38:02 -06:00
2024-09-23 19:45:14 -06:00
## Mount points (should be mounted outside the jail)
2024-09-29 12:46:24 -06:00
- `/usr/local/www/lychee` - web directory (includes config file)
- `/var/db/mysql` - database directory
2024-09-23 19:45:14 -06:00
## Jail Properties
2024-09-29 12:46:24 -06:00
- none