use cuda immich ml and move postgres to ssd mount [ci skip]
This commit is contained in:
parent
58240d640b
commit
ecafe61b8f
1 changed files with 4 additions and 3 deletions
|
|
@ -35,7 +35,8 @@ resource "kubernetes_persistent_volume" "immich-postgresql" {
|
||||||
access_modes = ["ReadWriteOnce"]
|
access_modes = ["ReadWriteOnce"]
|
||||||
persistent_volume_source {
|
persistent_volume_source {
|
||||||
nfs {
|
nfs {
|
||||||
path = "/mnt/main/immich/data-immich-postgresql"
|
# path = "/mnt/main/immich/data-immich-postgresql"
|
||||||
|
path = "/mnt/ssd/immich/data-immich-postgresql"
|
||||||
server = "10.0.10.15"
|
server = "10.0.10.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -217,8 +218,8 @@ resource "kubernetes_deployment" "immich-machine-learning" {
|
||||||
"gpu" : "true"
|
"gpu" : "true"
|
||||||
}
|
}
|
||||||
container {
|
container {
|
||||||
# image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}-cuda"
|
# image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}"
|
||||||
image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}"
|
image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}-cuda"
|
||||||
name = "immich-machine-learning"
|
name = "immich-machine-learning"
|
||||||
port {
|
port {
|
||||||
container_port = 3003
|
container_port = 3003
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue