mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2026-01-03 19:23:54 +01:00
Update photoprism-install.sh - add more pkg urls
This commit is contained in:
@@ -4,14 +4,30 @@
|
||||
APP_NAME="photoprism"
|
||||
DATABASE_TYPE="MariaDB"
|
||||
MARIADB_VERSION="106"
|
||||
PHOTOPRISM_PKG="https://github.com/lapo-luchini/photoprism-freebsd-port/releases/download/2023-11-28/photoprism-g20231128-FreeBSD-14.0-amd64.pkg"
|
||||
LIBTENSORFLOW_PKG="https://github.com/lapo-luchini/libtensorflow1-freebsd-port/releases/download/v1.15.5_2/libtensorflow1-1.15.5_2.pkg-FreeBSD-14.0-amd64-AVX-SSE42.pkg"
|
||||
DB_USER="photoprism"
|
||||
DB_NAME="photoprism"
|
||||
ADMIN_PASSWORD=$(openssl rand -base64 12)
|
||||
DB_PASSWORD=$(openssl rand -base64 16)
|
||||
DB_ROOT_PASSWORD=$(openssl rand -base64 16)
|
||||
|
||||
# Libtensorflow Package
|
||||
# Uncomment for FreeBSD 13
|
||||
LIBTENSORFLOW_PKG="https://github.com/lapo-luchini/libtensorflow1-freebsd-port/releases/download/v1.15.5_2/libtensorflow1-1.15.5_2.pkg-FreeBSD-13.2-amd64-AVX-SSE42.pkg"
|
||||
# Uncomment for FreeBSD 14
|
||||
#LIBTENSORFLOW_PKG="https://github.com/lapo-luchini/libtensorflow1-freebsd-port/releases/download/v1.15.5_2/libtensorflow1-1.15.5_2.pkg-FreeBSD-14.0-amd64-AVX-SSE42.pkg"
|
||||
|
||||
# Photoprism Package
|
||||
# github.com/lapo-luchini
|
||||
# Uncomment for FreeBSD 13
|
||||
#PHOTOPRISM_PKG="https://github.com/lapo-luchini/photoprism-freebsd-port/releases/download/2023-11-28/photoprism-g20231128-FreeBSD-13.2-amd64.pkg"
|
||||
# Uncomment for FreeBSD 14
|
||||
#PHOTOPRISM_PKG="https://github.com/lapo-luchini/photoprism-freebsd-port/releases/download/2023-11-28/photoprism-g20231128-FreeBSD-14.0-amd64.pkg"
|
||||
# github.com/Gaojianli
|
||||
# Uncomment for FreeBSD 13
|
||||
PHOTOPRISM_PKG="https://github.com/Gaojianli/photoprism-freebsd-port/releases/download/240915-e1280b2fb/photoprism-g20240915-FreeBSD-13.3-RELEASE.pkg"
|
||||
# Uncomment for FreeBSD 14
|
||||
#PHOTOPRISM_PKG="https://github.com/Gaojianli/photoprism-freebsd-port/releases/download/240915-e1280b2fb/photoprism-g20240915-FreeBSD-14.1-RELEASE.pkg"
|
||||
|
||||
# Check for Root Privileges
|
||||
if ! [ $(id -u) = 0 ]; then
|
||||
echo "This script must be run with root privileges"
|
||||
|
||||
Reference in New Issue
Block a user