Tune PhotoPrism
This commit is contained in:
parent
bb400a3f1c
commit
0d47a1f8c8
@ -53,6 +53,7 @@ job "mysql-server" {
|
||||
config {
|
||||
image = "mariadb:10"
|
||||
ports = ["db"]
|
||||
args = ["--innodb-buffer-pool-size=1G"]
|
||||
}
|
||||
|
||||
vault {
|
||||
|
@ -244,11 +244,14 @@ module "photoprism_module" {
|
||||
sticky_disk = true
|
||||
healthcheck_path = "/library/login"
|
||||
env = {
|
||||
# UI
|
||||
PHOTOPRISM_SITE_CAPTION = "AI-Powered Photos App"
|
||||
PHOTOPRISM_SITE_DESCRIPTION = "Fijolek home photos"
|
||||
PHOTOPRISM_SITE_TITLE = "PhotoPrism"
|
||||
PHOTOPRISM_SITE_URL = "https://photoprism.thefij.rocks:2342/" # server URL in the format "http(s)://domain.name(:port)/(path)"
|
||||
PHOTOPRISM_SPONSOR = "true"
|
||||
# Worker config
|
||||
PHOTOPRISM_WORKERS = 2
|
||||
# Paths
|
||||
PHOTOPRISM_ORIGINALS_PATH = "/photoprism-media/Library"
|
||||
PHOTOPRISM_IMPORT_PATH = "/photoprism-media/Import"
|
||||
@ -259,9 +262,9 @@ module "photoprism_module" {
|
||||
PHOTOPRISM_UMASK = 0000
|
||||
}
|
||||
resources = {
|
||||
cpu = 100
|
||||
memory = 500
|
||||
memory_max = 1000
|
||||
cpu = 1000
|
||||
memory = 2000
|
||||
# memory_max = 2000
|
||||
}
|
||||
use_mysql = true
|
||||
use_vault = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user