aboutsummaryrefslogtreecommitdiff
path: root/roles/photos/files/postgres/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/photos/files/postgres/templates/service.yaml')
-rw-r--r--roles/photos/files/postgres/templates/service.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/photos/files/postgres/templates/service.yaml b/roles/photos/files/postgres/templates/service.yaml
new file mode 100644
index 0000000..8fb9a49
--- /dev/null
+++ b/roles/photos/files/postgres/templates/service.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: immich-db-service
+spec:
+ type: ClusterIP
+ selector:
+ app: immich-db
+ ports:
+ - protocol: TCP
+ port: 5432
+ targetPort: 5432