Skip to content

Configuration files

Nick edited this page Jul 31, 2019 · 1 revision

Main storage

Phobox uses the latest defined storage as default storage and opens this up. The information is stored in the user home directory in the hidden file .phobox.properties. If you want to use another storage directory, you can change the path in this file. Restart phobox to active the change.

Storage configurations

Phobox saves a bunch of settings for a storage. This settings are stored in the phobox.yaml file in the phobox sub-directory of your storage. There you can change some settings for this storage.

---
# The import format for this storage
importFormat: "%Y/%Y-%M/%Y-%M-%D/"

# optional login credentials for a secured phobox instance
# the password is saved as hash value (in that way the password is not saved readable)
# Delete this entry or set to `loginCredentials: null` to deactivate the login.
# default is deactivated
loginCredentials:
- username: "nick"
  password: "$2a$10$k1n4tz2YbqXbeQ9Cm5ZUkOG84/9hRjOTh1ERI2gCkAskkyDQFqxtW"

# A specific starting time for the daily storage scan to update the database for storage changes.
# Delete this entry or set to null to deactivate this scan.
# It's recommended for server/NAS systems which runs phobox all around the clock
# (default "23:00")
storageScan: "23:10"

# If you want to run phobox for this storage on a specific port (default 8080)
# If you start phobox with CLI and -p parameter the `phoboxPort`-setting will be ignored.
phoboxPort: 9001

After taking changes you have to restart phobox to activate it.