Skip to content

Commit

Permalink
feat(polish): deployment environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Christiantyemele committed Dec 11, 2024
1 parent 3699500 commit 703dcea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY --from=builder /app/target/release/didcomm-mediator /usr/local/bin/didcomm-
COPY .env .env

# Expose the necessary port
EXPOSE 8080
EXPOSE 3000

# Set an entrypoint script to handle the environment file
ENTRYPOINT ["didcomm-mediator"]
2 changes: 1 addition & 1 deletion mediator-charts/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ spec:
pathType: Prefix
backend:
service:
name: mediator
name: {{ .Release.Name }}-mediator-service
port:
number: 8080
2 changes: 1 addition & 1 deletion mediator-charts/templates/mediator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
image: {{ .Values.mediator.image.repository }}:{{ .Values.mediator.image.tag }}
imagePullPolicy: {{ .Values.mediator.image.pullPolicy }}
ports:
- containerPort: 8080
- containerPort: 3000
env:
- name: MONGO_DBN
valueFrom:
Expand Down
6 changes: 3 additions & 3 deletions mediator-charts/templates/mediator-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
selector:
app: {{ .Release.Name }}-mediator
ports:
- protocol: TCP
port: 8080
targetPort: 8080
- protocol: TCP
port: 3000
targetPort: 3000
type: LoadBalancer

0 comments on commit 703dcea

Please sign in to comment.