Skip to content

Commit

Permalink
feat(): updated host deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Christiantyemele committed Dec 17, 2024
1 parent 1d64f67 commit 2cfc7d0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ SERVER_PUBLIC_DOMAIN="http://didcomm-mediator.com"
SERVER_LOCAL_PORT="8080"
STORAGE_DIRPATH="crates/generic-server/target/storage"
MONGO_DBN="mediator-coordination"
# MONGO_URI="mongodb://10.244.0.19:27017"

8 changes: 4 additions & 4 deletions mediator-charts/templates/env-configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
data:
MONGO_DBN: {{ .Values.envConfig.MONGO_DBN }}
MONGO_URI: {{ .Values.envConfig.MONGO_URI }}
SERVER_LOCAL_PORT: {{ .Values.envConfig.SERVER_LOCAL_PORT }}
SERVER_PUBLIC_DOMAIN: {{ .Values.envConfig.SERVER_PUBLIC_DOMAIN }}
MONGO_DBN: mediatorDB
MONGO_URI: mongodb://mongodb:27017
SERVER_LOCAL_PORT: "3000"
SERVER_PUBLIC_DOMAIN: http://alice-mediator.com

kind: ConfigMap
metadata:
Expand Down
20 changes: 0 additions & 20 deletions mediator-charts/templates/ingress.yaml

This file was deleted.

6 changes: 1 addition & 5 deletions mediator-charts/templates/mediator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,4 @@ spec:
configMapKeyRef:
key: SERVER_PUBLIC_DOMAIN
name: env
- name: STORAGE_DIRPATH
valueFrom:
configMapKeyRef:
key: STORAGE_DIRPATH
name: env

2 changes: 1 addition & 1 deletion mediator-charts/templates/mediator-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ spec:
app: {{ .Release.Name }}-mediator
ports:
- protocol: TCP
port: 3000
port: 80
targetPort: 3000
type: LoadBalancer
6 changes: 0 additions & 6 deletions mediator-charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,3 @@ mongoVolume:


mountPath: /var/lib/mongodb

envConfig:
MONGO_DBN: mediatorDB
MONGO_URI: mongodb://mongodb:27017
SERVER_LOCAL_PORT: "3000"
SERVER_PUBLIC_DOMAIN: http://alice-mediator.com

0 comments on commit 2cfc7d0

Please sign in to comment.