feat: initial implementation with docs and system_config
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
resource "immich_system_config" "example" {
|
||||
password_login = {
|
||||
enabled = true
|
||||
}
|
||||
|
||||
oauth = {
|
||||
enabled = true
|
||||
issuer_url = "https://keycloak.example.com/realms/immich"
|
||||
client_id = "immich-client"
|
||||
client_secret = "your-client-secret"
|
||||
scope = "openid profile email"
|
||||
button_text = "Login with Keycloak"
|
||||
auto_register = true
|
||||
}
|
||||
|
||||
storage_template = {
|
||||
template = "{{y}}/{{y}}-{{m}}-{{d}}/{{filename}}"
|
||||
}
|
||||
|
||||
machine_learning = {
|
||||
enabled = true
|
||||
url = "http://immich-machine-learning:3003"
|
||||
clip_model = "ViT-L-14__openai"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user