Skip to content

Commit 6e128f9

Browse files
committed
wip
1 parent 879b507 commit 6e128f9

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

apps/declaratii-avere/service-typesense.yaml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ spec:
2020
cpu: 1000m
2121
memory: 2048M
2222
ports:
23-
- containerPort: 8108
23+
- containerPort: 80
2424
volumeMounts:
2525
- mountPath: /typesense-data
2626
name: typesense-data
2727
env:
28+
- name: TYPESENSE_API_PORT
29+
value: "80"
2830
- name: TYPESENSE_DATA_DIR
2931
value: "/typesense-data"
3032
- name: TYPESENSE_ENABLE_CORS
@@ -39,16 +41,3 @@ spec:
3941
persistentVolumeClaim:
4042
claimName: declaratii-avere-pvc
4143
readOnly: false
42-
---
43-
apiVersion: v1
44-
kind: Service
45-
metadata:
46-
name: typesense
47-
spec:
48-
selector:
49-
name: typesense
50-
ports:
51-
- protocol: TCP
52-
name: http
53-
port: 8108
54-
targetPort: 8108

0 commit comments

Comments
 (0)