services
This commit is contained in:
parent
acd8cfde84
commit
bd08d69e0e
@ -3,5 +3,4 @@ kind: Kustomization
|
||||
resources:
|
||||
- ingress.yaml
|
||||
- pvc.yaml
|
||||
- service.yaml
|
||||
- immich-secret-sealed.yaml
|
||||
|
@ -26,6 +26,11 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/postgresql/data
|
||||
name: pgdata
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 5432
|
||||
hostPort: 5432
|
||||
protocol: TCP
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: pgdata
|
||||
|
@ -2,19 +2,19 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: immich-microservices
|
||||
name: immich-microservices
|
||||
app: microservices
|
||||
name: microservices
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: immich-microservices
|
||||
app: microservices
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: immich-microservices
|
||||
app: microservices
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
@ -24,7 +24,7 @@ spec:
|
||||
- secretRef:
|
||||
name: immich-secret
|
||||
image: ghcr.io/immich-app/immich-server:release
|
||||
name: immich-microservices
|
||||
name: microservices
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /usr/src/app/upload
|
||||
|
@ -19,4 +19,9 @@ spec:
|
||||
- image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:84882e87b54734154586e5f8abd4dce69fe7311315e2fc6d67c29614c8de2672
|
||||
name: immich-redis
|
||||
resources: {}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 6379
|
||||
hostPort: 6379
|
||||
protocol: TCP
|
||||
restartPolicy: Always
|
@ -2,19 +2,19 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: immich-server
|
||||
name: immich-server
|
||||
app: server
|
||||
name: server
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: immich-server
|
||||
app: server
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: immich-server
|
||||
app: server
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
@ -24,11 +24,11 @@ spec:
|
||||
- secretRef:
|
||||
name: immich-secret
|
||||
image: ghcr.io/immich-app/immich-server:release
|
||||
name: immich-server
|
||||
name: server
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3001
|
||||
hostPort: 2283
|
||||
hostPort: 3001
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
|
@ -4,5 +4,6 @@ kind: Kustomization
|
||||
namespace: immich
|
||||
|
||||
resources:
|
||||
- base
|
||||
- deployment
|
||||
- base
|
||||
- service
|
||||
|
13
apps/immich/service/database.yaml
Normal file
13
apps/immich/service/database.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: database
|
||||
name: database
|
||||
spec:
|
||||
ports:
|
||||
- name: "http"
|
||||
port: 5432
|
||||
targetPort: 5432
|
||||
selector:
|
||||
app: database
|
6
apps/immich/service/kustomization.yaml
Normal file
6
apps/immich/service/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- database.yaml
|
||||
- redis.yaml
|
||||
- server.yaml
|
13
apps/immich/service/redis.yaml
Normal file
13
apps/immich/service/redis.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: redis
|
||||
name: redis
|
||||
spec:
|
||||
ports:
|
||||
- name: "http"
|
||||
port: 6379
|
||||
targetPort: 6379
|
||||
selector:
|
||||
app: redis
|
@ -2,12 +2,12 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: immich-server
|
||||
name: immich-server
|
||||
app: server
|
||||
name: server
|
||||
spec:
|
||||
ports:
|
||||
- name: "http"
|
||||
port: 2283
|
||||
targetPort: 3001
|
||||
selector:
|
||||
app: immich-server
|
||||
app: server
|
@ -18,7 +18,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: cron
|
||||
image: nextcloud
|
||||
image: nextcloud:latest
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/html
|
||||
name: nextcloud
|
||||
|
Loading…
x
Reference in New Issue
Block a user