aboutsummaryrefslogtreecommitdiff
path: root/roles/photos/files/postgres/templates/service.yaml
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2025-04-22 17:29:46 -0500
committerAaditya Dhruv <[email protected]>2025-05-01 20:19:51 -0500
commit55298a51cb0cc5e68c5a43869f2f32b899d3a622 (patch)
tree50d271288502bcff6f0a5133ce0839d883ee8ef7 /roles/photos/files/postgres/templates/service.yaml
init
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