invoice deployment updated
parent
eef5364326
commit
a392527c84
paisavara/invoice
|
@ -8,13 +8,13 @@ metadata:
|
|||
kompose.service.type: NodePort
|
||||
kompose.version: 1.34.0 (cbf2835db)
|
||||
labels:
|
||||
io.kompose.service: dl-invoice
|
||||
name: dl-invoice
|
||||
io.kompose.service: pv-invoice
|
||||
name: pv-invoice
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: dl-invoice
|
||||
io.kompose.service: pv-invoice
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
|
@ -26,7 +26,7 @@ spec:
|
|||
kompose.service.type: NodePort
|
||||
kompose.version: 1.34.0 (cbf2835db)
|
||||
labels:
|
||||
io.kompose.service: dl-invoice
|
||||
io.kompose.service: pv-invoice
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
|
@ -34,15 +34,15 @@ spec:
|
|||
- -c
|
||||
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||
image: git.humbingo.org/docker/dailyledger-invoiceservice:v20
|
||||
name: dl-invoice
|
||||
name: pv-invoice
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- mountPath: /dl-invoice
|
||||
name: dl-invoice-cm0
|
||||
- mountPath: /pv-invoice
|
||||
name: pv-invoice-cm0
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- configMap:
|
||||
name: dl-invoice-cm0
|
||||
name: dl-invoice-cm0
|
||||
name: pv-invoice-cm0
|
||||
name: pv-invoice-cm0
|
Loading…
Reference in New Issue