services
This commit is contained in:
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
|
13
apps/immich/service/server.yaml
Normal file
13
apps/immich/service/server.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: server
|
||||
name: server
|
||||
spec:
|
||||
ports:
|
||||
- name: "http"
|
||||
port: 2283
|
||||
targetPort: 3001
|
||||
selector:
|
||||
app: server
|
Reference in New Issue
Block a user