-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
83 lines (67 loc) · 2.7 KB
/
Copy path.env.example
File metadata and controls
83 lines (67 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
####################################
# PersonalMediaVault configuration #
####################################
# Listening port
VAULT_PORT=8000
# Path where the vault will be stored
VAULT_PATH=./vault
# SSL (recommended)
#
# Running the vault with HTTP is the most secure option
# Obtain a key and a certificate for your domain
#
# Set VAULT_SSL_PATH to the path where the key and the certificate are stored
# This path will be mapped to /ssl in the container
# Set SSL_KEY and SSL_CERT to the key and certificate chain files respectively
# The files must be in the /ssl path (eg: /ssl/certificate.pem) and in PEM format
VAULT_SSL_PATH=./ssl
#SSL_KEY=/ssl/key.pem
#SSL_CERT=/ssl/certificate.pem
# Reverse proxy
#
# Sometimes is better to use a reverse proxy (line NGINX)
# as the frontend and forward the requests to the daemon
#
# If you are using it, set USING_PROXY to YES in order for
# the daemon to change the way it resolves the IP addresses of clients
USING_PROXY=NO
# Initial vault user
#
# If the vault has no users, an initial user will be created
#
# Set VAULT_INITIAL_USER and VAULT_INITIAL_PASSWORD
# for the username and password respectively
#
# Make sure to change them the first time you log into the vault.
VAULT_INITIAL_USER=admin
VAULT_INITIAL_PASSWORD=changeme
# Cache size
# You can modify it to accelerate the read speed
# but will also result in higher memory usage
# The recommended value is 1024
VAULT_CACHE_SIZE=1024
# Extra options
#
# You can set the following extra options,
# separating them with spaces:
#
# --log-requests - Enables request logging
# --debug - Enables debug logging (useful for troubleshooting)
# --check-trash - Checks the vault (at startup) in order to find trash files. This option requires the vault credentials passed in the environment variables 'VAULT_USER' and 'VAULT_PASSWORD', in order to decrypt the vault files.
# --remove-trash - Removes the trash files. Combine this option with '--check-trash'.
# --recover - Recovers non-indexed media assets.
VAULT_EXTRA_OPTIONS=--log-requests
# Enable semantic search?
# This option can be YES or NO
# If set to YES, make sure to also set the model
SEMANTIC_SEARCH_ENABLED=NO
# OpenCLIP model path
# First, download a model (you can find models in Hugging face)
# Hugging face search link: https://huggingface.co/models?pipeline_tag=zero-shot-image-classification&library=onnx&other=clip
# Change this variable to point to the model folder
SSE_MODEL_PATH=./open-clip-model
# Max size for images before they cannot be longer encoded
# The size is set in MegaBytes (no decimals allowed)
# This limits the memory usage of the daemon
# If you plan to work with very large images, make sure to set this to a high value
SSE_IMAGE_SIZE_LIMIT_MB=20