mirror of
https://github.com/huo-ju/photoprism-freebsd-port.git
synced 2025-12-10 17:00:22 +01:00
Yaml config file support in the rc.conf with photoprism_defaultsyaml="" upgrade go to 1.19 refactoring the makefile
24 lines
697 B
Plaintext
24 lines
697 B
Plaintext
[
|
|
{ type: install
|
|
message: <<EOM
|
|
You must add the following lines to /etc/rc.conf to enable photoprism:
|
|
photoprism_enable="YES"
|
|
photoprism_assetspath="%%PHOTOPRISM_DATA_DIR%%/assets"
|
|
photoprism_storagepath="%%PHOTOPRISM_DATA_DIR%%/storage"
|
|
|
|
or add a yaml file for options, if you prefer:
|
|
|
|
photoprism_defaultsyaml="/usr/local/etc/photoprism/options.yml"
|
|
|
|
For enable the public mode (no password view):
|
|
|
|
photoprism_auth_mode="public"
|
|
|
|
Then set an initial password:
|
|
photoprism --assets-path=%%PHOTOPRISM_DATA_DIR%%/assets --storage-path=%%PHOTOPRISM_DATA_DIR%%/storage --originals-path=%%PHOTOPRISM_DATA_DIR%%/sto
|
|
rage/originals --import-path=%%PHOTOPRISM_DATA_DIR%%/storage/import passwd
|
|
|
|
EOM
|
|
}
|
|
]
|