26 lines
607 B
Terraform
26 lines
607 B
Terraform
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"
|
|
}
|
|
}
|