Commit e027a0c4 authored by manuel's avatar manuel

fixed deployment file

parent 331f03d4
......@@ -12,14 +12,6 @@ spec:
targetPort: 5000
nodePort: 30401
protocol: TCP
volumeMounts:
- mountPath: /srv/articonf
name: articonf
volumes:
- name: articonf
hostPath:
path: /srv/articonf
type: Directory
---
apiVersion: apps/v1
kind: Deployment
......@@ -40,6 +32,14 @@ spec:
image: alexx882/rest-gateway
ports:
- containerPort: 5000
volumeMounts:
- mountPath: /srv/articonf
name: articonf
volumes:
- name: articonf
hostPath:
path: /srv/articonf
type: Directory
---
apiVersion: v1
kind: Service
......@@ -79,4 +79,4 @@ spec:
- name: MONGO_INITDB_ROOT_PASSWORD
value: root
ports:
- containerPort: 27017
\ No newline at end of file
- containerPort: 27017
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment