Skip to content

Commit

Permalink
Ports man, not even once
Browse files Browse the repository at this point in the history
  • Loading branch information
zmailloux committed Feb 19, 2019
1 parent e82d29c commit e9d9b79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM openjdk:8-jdk-slim
ENV PORT 9001
EXPOSE 9001
ENV PORT 9000
EXPOSE 9000
COPY build/libs/*.jar /opt/app.jar
Expand Down
4 changes: 3 additions & 1 deletion charts/meta-project/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
- name: external
containerPort: 9001
- name: http
containerPort: 9000
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.nodeSelector }}
Expand Down

0 comments on commit e9d9b79

Please sign in to comment.