adjustments
This commit is contained in:
parent
3fdb83234d
commit
f23639e924
@ -3,6 +3,5 @@ kind: Kustomization
|
||||
resources:
|
||||
- database.yaml
|
||||
- machine-learning.yaml
|
||||
- microservices.yaml
|
||||
- redis.yaml
|
||||
- server.yaml
|
||||
|
@ -20,6 +20,11 @@ spec:
|
||||
- image: ghcr.io/immich-app/immich-machine-learning:release
|
||||
name: immich-machine-learning
|
||||
resources: {}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3003
|
||||
hostPort: 3003
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- mountPath: /cache
|
||||
name: model-cache
|
||||
|
@ -1,40 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: microservices
|
||||
name: microservices
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: microservices
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: microservices
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- start.sh
|
||||
- microservices
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: immich-secret
|
||||
image: ghcr.io/immich-app/immich-server:release
|
||||
name: microservices
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /usr/src/app/upload
|
||||
name: photos
|
||||
subPath: upload
|
||||
- mountPath: /usr/src/app/external
|
||||
name: photos
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: photos
|
||||
nfs:
|
||||
server: 192.168.178.4
|
||||
path: /mnt/photos
|
@ -17,6 +17,26 @@ spec:
|
||||
app: server
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- start.sh
|
||||
- microservices
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: immich-secret
|
||||
image: ghcr.io/immich-app/immich-server:release
|
||||
name: microservices
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3002
|
||||
hostPort: 3002
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /usr/src/app/upload
|
||||
name: photos
|
||||
subPath: upload
|
||||
- mountPath: /usr/src/app/external
|
||||
name: photos
|
||||
- args:
|
||||
- start.sh
|
||||
- immich
|
||||
|
@ -4,3 +4,4 @@ resources:
|
||||
- database.yaml
|
||||
- redis.yaml
|
||||
- server.yaml
|
||||
- machine-learning.yaml
|
13
apps/immich/service/machine-learning.yaml
Normal file
13
apps/immich/service/machine-learning.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: machine-learning
|
||||
name: machine-learning
|
||||
spec:
|
||||
ports:
|
||||
- name: "http"
|
||||
port: 3003
|
||||
targetPort: 3003
|
||||
selector:
|
||||
app: machine-learning
|
@ -7,7 +7,10 @@ metadata:
|
||||
spec:
|
||||
ports:
|
||||
- name: "http"
|
||||
port: 2283
|
||||
port: 3001
|
||||
targetPort: 3001
|
||||
- name: "http"
|
||||
port: 3002
|
||||
targetPort: 3002
|
||||
selector:
|
||||
app: server
|
Loading…
x
Reference in New Issue
Block a user