config file added
parent
3deae32e75
commit
98c44f985b
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30060"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
name: pv-cheque
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30060"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-chequeservice:development
|
||||||
|
name: pv-cheque
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-cheque
|
||||||
|
name: pv-cheque-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-cheque-cm0
|
||||||
|
name: pv-cheque-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30060"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
name: pv-cheque
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-cheque
|
||||||
|
port:
|
||||||
|
number: 8060
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30060"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
name: pv-cheque
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8060"
|
||||||
|
port: 8060
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30060
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
type: NodePort
|
|
@ -2,8 +2,8 @@ apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-lottery-claim0
|
io.kompose.service: pv-db-cheque-claim0
|
||||||
name: dl-db-lottery-claim0
|
name: pv-db-cheque-claim0
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
|
@ -2,44 +2,44 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-generalledger
|
io.kompose.service: pv-db-cheque
|
||||||
name: dl-db-generalledger
|
name: pv-db-cheque
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
io.kompose.service: dl-db-generalledger
|
io.kompose.service: pv-db-cheque
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-generalledger
|
io.kompose.service: pv-db-cheque
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: POSTGRES_DB
|
- name: POSTGRES_DB
|
||||||
value: dl-db-generalledger
|
value: pv-db-cheque
|
||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
value: Welcome@1
|
value: Welcome@1
|
||||||
- name: POSTGRES_USER
|
- name: POSTGRES_USER
|
||||||
value: humbingo
|
value: humbingo
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
name: dl-db-generalledger
|
name: pv-db-cheque
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/lib/postgresql/data
|
- mountPath: /var/lib/postgresql/data
|
||||||
name: dl-db-generalledger-claim0
|
name: pv-db-cheque-claim0
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: dl-db-generalledger-claim0
|
- name: pv-db-cheque-claim0
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: dl-db-generalledger-claim0
|
claimName: pv-db-cheque-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-cheque
|
||||||
|
name: pv-db-cheque
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5460"
|
||||||
|
port: 5460
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-cheque
|
|
@ -0,0 +1,400 @@
|
||||||
|
version: '4'
|
||||||
|
|
||||||
|
services:
|
||||||
|
pv-gateway:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-gateway:development
|
||||||
|
container_name: pv-gateway
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-gateway
|
||||||
|
ports:
|
||||||
|
- "8050:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30050
|
||||||
|
depends_on:
|
||||||
|
- pv-db-gateway
|
||||||
|
|
||||||
|
pv-db-gateway:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-gateway
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-gateway:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5450:5432"
|
||||||
|
|
||||||
|
pv-invoice:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-invoiceservice:development
|
||||||
|
container_name: pv-invoice
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-invoice
|
||||||
|
ports:
|
||||||
|
- "8051:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30051
|
||||||
|
depends_on:
|
||||||
|
- pv-db-invoice
|
||||||
|
|
||||||
|
pv-db-invoice:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-invoice
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-invoice:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5451:5432"
|
||||||
|
|
||||||
|
pv-generalledger:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-generalledger:development
|
||||||
|
container_name: pv-generalledger
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-generalledger
|
||||||
|
ports:
|
||||||
|
- "8052:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30052
|
||||||
|
depends_on:
|
||||||
|
- pv-db-generalledger
|
||||||
|
|
||||||
|
pv-db-generalledger:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-generalledger
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-generalledger:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5452:5432"
|
||||||
|
|
||||||
|
pv-utils:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-utils:development
|
||||||
|
container_name: pv-utils
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-utils
|
||||||
|
ports:
|
||||||
|
- "8053:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30053
|
||||||
|
depends_on:
|
||||||
|
- pv-db-utils
|
||||||
|
|
||||||
|
pv-db-utils:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-utils
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-utils:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5453:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-subscription:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-subscription:development
|
||||||
|
container_name: pv-subscription
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-subscription
|
||||||
|
ports:
|
||||||
|
- "8054:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30054
|
||||||
|
depends_on:
|
||||||
|
- pv-db-subscription
|
||||||
|
|
||||||
|
pv-db-subscription:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-subscription
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-subscription:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5454:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-salestax:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-salestax:latest
|
||||||
|
container_name: pv-salestax
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-salestax
|
||||||
|
ports:
|
||||||
|
- "8055:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30055
|
||||||
|
depends_on:
|
||||||
|
- pv-db-salestax
|
||||||
|
|
||||||
|
pv-db-salestax:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-salestax
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-salestax:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5455:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-payroll:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-payroll:development
|
||||||
|
container_name: pv-payroll
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-payroll
|
||||||
|
ports:
|
||||||
|
- "8056:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30056
|
||||||
|
depends_on:
|
||||||
|
- pv-db-payroll
|
||||||
|
|
||||||
|
pv-db-payroll:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-payroll
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-payroll:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5456:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-lottery:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-lottery:development
|
||||||
|
container_name: pv-lottery
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-lottery
|
||||||
|
ports:
|
||||||
|
- "8057:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30057
|
||||||
|
depends_on:
|
||||||
|
- pv-db-lottery
|
||||||
|
|
||||||
|
pv-db-lottery:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-lottery
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-lottery:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5457:5432"
|
||||||
|
|
||||||
|
pv-gas:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-gas:development
|
||||||
|
container_name: pv-gas
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-gas
|
||||||
|
ports:
|
||||||
|
- "8058:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30058
|
||||||
|
depends_on:
|
||||||
|
- pv-db-gas
|
||||||
|
|
||||||
|
pv-db-gas:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-gas
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-gas:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5458:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-product:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-product:development
|
||||||
|
container_name: pv-product
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-product
|
||||||
|
ports:
|
||||||
|
- "8059:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30059
|
||||||
|
depends_on:
|
||||||
|
- pv-db-product
|
||||||
|
|
||||||
|
pv-db-product:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-product
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-product:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5459:5432"
|
||||||
|
|
||||||
|
pv-cheque:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-chequeservice:development
|
||||||
|
container_name: pv-cheque
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-cheque
|
||||||
|
ports:
|
||||||
|
- "8060:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30060
|
||||||
|
depends_on:
|
||||||
|
- pv-db-cheque
|
||||||
|
|
||||||
|
pv-db-cheque:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-cheque
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-cheque:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5460:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-timecard:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-timecardservice:development
|
||||||
|
container_name: pv-timecard
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-timecard
|
||||||
|
ports:
|
||||||
|
- "8061:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30061
|
||||||
|
depends_on:
|
||||||
|
- pv-db-timecard
|
||||||
|
|
||||||
|
pv-db-timecard:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-timecard
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-timecard:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5461:5432"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@ apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-gas-claim0
|
io.kompose.service: pv-db-gas-claim0
|
||||||
name: dl-db-gas-claim0
|
name: pv-db-gas-claim0
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
|
@ -2,44 +2,44 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-payroll
|
io.kompose.service: pv-db-gas
|
||||||
name: dl-db-payroll
|
name: pv-db-gas
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
io.kompose.service: dl-db-payroll
|
io.kompose.service: pv-db-gas
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-payroll
|
io.kompose.service: pv-db-gas
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: POSTGRES_DB
|
- name: POSTGRES_DB
|
||||||
value: dl-db-payroll
|
value: pv-db-gas
|
||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
value: Welcome@1
|
value: Welcome@1
|
||||||
- name: POSTGRES_USER
|
- name: POSTGRES_USER
|
||||||
value: humbingo
|
value: humbingo
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
name: dl-db-payroll
|
name: pv-db-gas
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/lib/postgresql/data
|
- mountPath: /var/lib/postgresql/data
|
||||||
name: dl-db-payroll-claim0
|
name: pv-db-gas-claim0
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: dl-db-payroll-claim0
|
- name: pv-db-gas-claim0
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: dl-db-payroll-claim0
|
claimName: pv-db-gas-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-gas
|
||||||
|
name: pv-db-gas
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5458"
|
||||||
|
port: 5458
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-gas
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30058"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-gas
|
||||||
|
name: pv-gas
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-gas
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30058"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-gas
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-gas:development
|
||||||
|
name: pv-gas
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-gas
|
||||||
|
name: pv-gas-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-gas-cm0
|
||||||
|
name: pv-gas-cm0
|
|
@ -2,22 +2,22 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.service.expose: "true"
|
kompose.service.expose: "true"
|
||||||
kompose.service.nodeport: "30009"
|
kompose.service.nodeport: "30058"
|
||||||
kompose.service.type: NodePort
|
kompose.service.type: NodePort
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-gas
|
io.kompose.service: pv-gas
|
||||||
name: dl-gas
|
name: pv-gas
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- http:
|
- http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
service:
|
service:
|
||||||
name: dl-gas
|
name: pv-gas
|
||||||
port:
|
port:
|
||||||
number: 8009
|
number: 8058
|
||||||
path: /
|
path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30058"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-gas
|
||||||
|
name: pv-gas
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8058"
|
||||||
|
port: 8058
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30058
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-gas
|
||||||
|
type: NodePort
|
|
@ -2,8 +2,8 @@ apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-payroll-claim0
|
io.kompose.service: pv-db-gateway-claim0
|
||||||
name: dl-db-payroll-claim0
|
name: pv-db-gateway-claim0
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-gateway
|
||||||
|
name: pv-db-gateway
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-gateway
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-gateway
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-gateway
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-gateway
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-gateway-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-gateway-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-gateway-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-gateway
|
||||||
|
name: pv-db-gateway
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5450"
|
||||||
|
port: 5450
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-gateway
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30050"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-gateway
|
||||||
|
name: pv-gateway
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-gateway
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30050"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-gateway
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-gateway:development
|
||||||
|
name: pv-gateway
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-gateway
|
||||||
|
name: pv-gateway-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-gateway-cm0
|
||||||
|
name: pv-gateway-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30050"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-gateway
|
||||||
|
name: pv-gateway
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-gateway
|
||||||
|
port:
|
||||||
|
number: 8050
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30050"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-gateway
|
||||||
|
name: pv-gateway
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8050"
|
||||||
|
port: 8050
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30050
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-gateway
|
||||||
|
type: NodePort
|
|
@ -2,8 +2,8 @@ apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-generalledger-claim0
|
io.kompose.service: pv-db-generalledger-claim0
|
||||||
name: dl-db-generalledger-claim0
|
name: pv-db-generalledger-claim0
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-generalledger
|
||||||
|
name: pv-db-generalledger
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-generalledger
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-generalledger
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-generalledger
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-generalledger
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-generalledger-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-generalledger-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-generalledger-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-generalledger
|
||||||
|
name: pv-db-generalledger
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5452"
|
||||||
|
port: 5452
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-generalledger
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30052"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-generalledger
|
||||||
|
name: pv-generalledger
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-generalledger
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30052"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-generalledger
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-generalledger:development
|
||||||
|
name: pv-generalledger
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-generalledger
|
||||||
|
name: pv-generalledger-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-generalledger-cm0
|
||||||
|
name: pv-generalledger-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30052"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-generalledger
|
||||||
|
name: pv-generalledger
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-generalledger
|
||||||
|
port:
|
||||||
|
number: 8052
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30052"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-generalledger
|
||||||
|
name: pv-generalledger
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8052"
|
||||||
|
port: 8052
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30052
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-generalledger
|
||||||
|
type: NodePort
|
|
@ -2,8 +2,8 @@ apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-invoice-claim0
|
io.kompose.service: pv-db-invoice-claim0
|
||||||
name: dl-db-invoice-claim0
|
name: pv-db-invoice-claim0
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-invoice
|
||||||
|
name: pv-db-invoice
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-invoice
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-invoice
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-invoice
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-invoice
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-invoice-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-invoice-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-invoice-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-invoice
|
||||||
|
name: pv-db-invoice
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5451"
|
||||||
|
port: 5451
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-invoice
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30051"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-invoice
|
||||||
|
name: pv-invoice
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-invoice
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30051"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-invoice
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-invoiceservice:development
|
||||||
|
name: pv-invoice
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-invoice
|
||||||
|
name: pv-invoice-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-invoice-cm0
|
||||||
|
name: pv-invoice-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30051"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-invoice
|
||||||
|
name: pv-invoice
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-invoice
|
||||||
|
port:
|
||||||
|
number: 8051
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30051"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-invoice
|
||||||
|
name: pv-invoice
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8051"
|
||||||
|
port: 8051
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30051
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-invoice
|
||||||
|
type: NodePort
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-lottery-claim0
|
||||||
|
name: pv-db-lottery-claim0
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-lottery
|
||||||
|
name: pv-db-lottery
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-lottery
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-lottery
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-lottery
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-lottery
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-lottery-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-lottery-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-lottery-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-lottery
|
||||||
|
name: pv-db-lottery
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5457"
|
||||||
|
port: 5457
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-lottery
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30057"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-lottery
|
||||||
|
name: pv-lottery
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-lottery
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30057"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-lottery
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-lottery:development
|
||||||
|
name: pv-lottery
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-lottery
|
||||||
|
name: pv-lottery-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-lottery-cm0
|
||||||
|
name: pv-lottery-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30057"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-lottery
|
||||||
|
name: pv-lottery
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-lottery
|
||||||
|
port:
|
||||||
|
number: 8057
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30057"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-lottery
|
||||||
|
name: pv-lottery
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8057"
|
||||||
|
port: 8057
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30057
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-lottery
|
||||||
|
type: NodePort
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-payroll-claim0
|
||||||
|
name: pv-db-payroll-claim0
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-payroll
|
||||||
|
name: pv-db-payroll
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-payroll
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-payroll
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-payroll
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-payroll
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-payroll-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-payroll-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-payroll-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-payroll
|
||||||
|
name: pv-db-payroll
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5456"
|
||||||
|
port: 5456
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-payroll
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30056"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-payroll
|
||||||
|
name: pv-payroll
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-payroll
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30056"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-payroll
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-payroll:development
|
||||||
|
name: pv-payroll
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-payroll
|
||||||
|
name: pv-payroll-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-payroll-cm0
|
||||||
|
name: pv-payroll-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30056"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-payroll
|
||||||
|
name: pv-payroll
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-payroll
|
||||||
|
port:
|
||||||
|
number: 8056
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30056"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-payroll
|
||||||
|
name: pv-payroll
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8056"
|
||||||
|
port: 8056
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30056
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-payroll
|
||||||
|
type: NodePort
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-product-claim0
|
||||||
|
name: pv-db-product-claim0
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-product
|
||||||
|
name: pv-db-product
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-product
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-product
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-product
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-product
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-product-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-product-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-product-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-product
|
||||||
|
name: pv-db-product
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5459"
|
||||||
|
port: 5459
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-product
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30059"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-product
|
||||||
|
name: pv-product
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-product
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30059"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-product
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-product:development
|
||||||
|
name: pv-product
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-product
|
||||||
|
name: pv-product-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-product-cm0
|
||||||
|
name: pv-product-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30059"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-product
|
||||||
|
name: pv-product
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-product
|
||||||
|
port:
|
||||||
|
number: 8059
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30059"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-product
|
||||||
|
name: pv-product
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8059"
|
||||||
|
port: 8059
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30059
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-product
|
||||||
|
type: NodePort
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-salestax-claim0
|
||||||
|
name: pv-db-salestax-claim0
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-salestax
|
||||||
|
name: pv-db-salestax
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-salestax
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-salestax
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-salestax
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-salestax
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-salestax-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-salestax-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-salestax-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-salestax
|
||||||
|
name: pv-db-salestax
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5455"
|
||||||
|
port: 5455
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-salestax
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30055"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-salestax
|
||||||
|
name: pv-salestax
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-salestax
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30055"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-salestax
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-salestax:latest
|
||||||
|
name: pv-salestax
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-salestax
|
||||||
|
name: pv-salestax-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-salestax-cm0
|
||||||
|
name: pv-salestax-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30055"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-salestax
|
||||||
|
name: pv-salestax
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-salestax
|
||||||
|
port:
|
||||||
|
number: 8055
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30055"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-salestax
|
||||||
|
name: pv-salestax
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8055"
|
||||||
|
port: 8055
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30055
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-salestax
|
||||||
|
type: NodePort
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-subscription-claim0
|
||||||
|
name: pv-db-subscription-claim0
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-subscription
|
||||||
|
name: pv-db-subscription
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-subscription
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-subscription
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-subscription
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-subscription
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-subscription-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-subscription-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-subscription-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-subscription
|
||||||
|
name: pv-db-subscription
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5454"
|
||||||
|
port: 5454
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-subscription
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30054"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-subscription
|
||||||
|
name: pv-subscription
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-subscription
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30054"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-subscription
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-subscription:development
|
||||||
|
name: pv-subscription
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-subscription
|
||||||
|
name: pv-subscription-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-subscription-cm0
|
||||||
|
name: pv-subscription-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30054"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-subscription
|
||||||
|
name: pv-subscription
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-subscription
|
||||||
|
port:
|
||||||
|
number: 8054
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30054"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-subscription
|
||||||
|
name: pv-subscription
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8054"
|
||||||
|
port: 8054
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30054
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-subscription
|
||||||
|
type: NodePort
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-timecard-claim0
|
||||||
|
name: pv-db-timecard-claim0
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-timecard
|
||||||
|
name: pv-db-timecard
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-timecard
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-timecard
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-timecard
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-timecard
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-timecard-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-timecard-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-timecard-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-timecard
|
||||||
|
name: pv-db-timecard
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5461"
|
||||||
|
port: 5461
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-timecard
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30061"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-timecard
|
||||||
|
name: pv-timecard
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-timecard
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30061"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-timecard
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-timecardservice:development
|
||||||
|
name: pv-timecard
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-timecard
|
||||||
|
name: pv-timecard-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-timecard-cm0
|
||||||
|
name: pv-timecard-cm0
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30061"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-timecard
|
||||||
|
name: pv-timecard
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-timecard
|
||||||
|
port:
|
||||||
|
number: 8061
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30061"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-timecard
|
||||||
|
name: pv-timecard
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8061"
|
||||||
|
port: 8061
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30061
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-timecard
|
||||||
|
type: NodePort
|
|
@ -2,8 +2,8 @@ apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-utils-claim0
|
io.kompose.service: pv-db-utils-claim0
|
||||||
name: dl-db-utils-claim0
|
name: pv-db-utils-claim0
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
|
@ -2,44 +2,44 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-invoice
|
io.kompose.service: pv-db-utils
|
||||||
name: dl-db-invoice
|
name: pv-db-utils
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
io.kompose.service: dl-db-invoice
|
io.kompose.service: pv-db-utils
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-invoice
|
io.kompose.service: pv-db-utils
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: POSTGRES_DB
|
- name: POSTGRES_DB
|
||||||
value: dl-db-invoice
|
value: pv-db-utils
|
||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
value: Welcome@1
|
value: Welcome@1
|
||||||
- name: POSTGRES_USER
|
- name: POSTGRES_USER
|
||||||
value: humbingo
|
value: humbingo
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
name: dl-db-invoice
|
name: pv-db-utils
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/lib/postgresql/data
|
- mountPath: /var/lib/postgresql/data
|
||||||
name: dl-db-invoice-claim0
|
name: pv-db-utils-claim0
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: dl-db-invoice-claim0
|
- name: pv-db-utils-claim0
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: dl-db-invoice-claim0
|
claimName: pv-db-utils-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-utils
|
||||||
|
name: pv-db-utils
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5453"
|
||||||
|
port: 5453
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-utils
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30053"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-utils
|
||||||
|
name: pv-utils
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-utils
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30053"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-utils
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-utils:development
|
||||||
|
name: pv-utils
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-utils
|
||||||
|
name: pv-utils-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-utils-cm0
|
||||||
|
name: pv-utils-cm0
|
|
@ -2,22 +2,22 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.service.expose: "true"
|
kompose.service.expose: "true"
|
||||||
kompose.service.nodeport: "30003"
|
kompose.service.nodeport: "30053"
|
||||||
kompose.service.type: NodePort
|
kompose.service.type: NodePort
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-generalledger
|
io.kompose.service: pv-utils
|
||||||
name: dl-generalledger
|
name: pv-utils
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- http:
|
- http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
service:
|
service:
|
||||||
name: dl-generalledger
|
name: pv-utils
|
||||||
port:
|
port:
|
||||||
number: 8003
|
number: 8053
|
||||||
path: /
|
path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30053"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-utils
|
||||||
|
name: pv-utils
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8053"
|
||||||
|
port: 8053
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30053
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-utils
|
||||||
|
type: NodePort
|
File diff suppressed because one or more lines are too long
|
@ -1,12 +1,10 @@
|
||||||
|
|
||||||
# Updated section with the new image tag
|
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.service.expose: "true"
|
kompose.service.expose: "true"
|
||||||
kompose.service.nodeport: "30001"
|
kompose.service.nodeport: "30060"
|
||||||
kompose.service.type: NodePort
|
kompose.service.type: NodePort
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
|
@ -22,9 +20,9 @@ spec:
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.service.expose: "true"
|
kompose.service.expose: "true"
|
||||||
kompose.service.nodeport: "30001"
|
kompose.service.nodeport: "30060"
|
||||||
kompose.service.type: NodePort
|
kompose.service.type: NodePort
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
|
@ -34,8 +32,8 @@ spec:
|
||||||
- args:
|
- args:
|
||||||
- bash
|
- bash
|
||||||
- -c
|
- -c
|
||||||
- python manage.py makemigrations --merge && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
image: 147.79.66.211:3000/docker/paisavara-cheque:V1
|
image: 147.79.66.211:3000/docker/paisavara-chequeservice:development
|
||||||
name: pv-cheque
|
name: pv-cheque
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30060"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
name: pv-cheque
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: pv-cheque
|
||||||
|
port:
|
||||||
|
number: 8060
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30060"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
name: pv-cheque
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "8060"
|
||||||
|
port: 8060
|
||||||
|
targetPort: 8000
|
||||||
|
nodePort: 30060
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
type: NodePort
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-cheque-claim0
|
||||||
|
name: pv-db-cheque-claim0
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
|
@ -0,0 +1,45 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-cheque
|
||||||
|
name: pv-db-cheque
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-db-cheque
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-cheque
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: pv-db-cheque
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: Welcome@1
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: humbingo
|
||||||
|
image: postgres:16
|
||||||
|
name: pv-db-cheque
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/lib/postgresql/data
|
||||||
|
name: pv-db-cheque-claim0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: pv-db-cheque-claim0
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: pv-db-cheque-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-cheque
|
||||||
|
name: pv-db-cheque
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5460"
|
||||||
|
port: 5460
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-cheque
|
|
@ -0,0 +1,400 @@
|
||||||
|
version: '4'
|
||||||
|
|
||||||
|
services:
|
||||||
|
pv-gateway:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-gateway:development
|
||||||
|
container_name: pv-gateway
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-gateway
|
||||||
|
ports:
|
||||||
|
- "8050:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30050
|
||||||
|
depends_on:
|
||||||
|
- pv-db-gateway
|
||||||
|
|
||||||
|
pv-db-gateway:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-gateway
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-gateway:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5450:5432"
|
||||||
|
|
||||||
|
pv-invoice:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-invoiceservice:development
|
||||||
|
container_name: pv-invoice
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-invoice
|
||||||
|
ports:
|
||||||
|
- "8051:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30051
|
||||||
|
depends_on:
|
||||||
|
- pv-db-invoice
|
||||||
|
|
||||||
|
pv-db-invoice:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-invoice
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-invoice:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5451:5432"
|
||||||
|
|
||||||
|
pv-generalledger:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-generalledger:development
|
||||||
|
container_name: pv-generalledger
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-generalledger
|
||||||
|
ports:
|
||||||
|
- "8052:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30052
|
||||||
|
depends_on:
|
||||||
|
- pv-db-generalledger
|
||||||
|
|
||||||
|
pv-db-generalledger:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-generalledger
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-generalledger:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5452:5432"
|
||||||
|
|
||||||
|
pv-utils:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-utils:development
|
||||||
|
container_name: pv-utils
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-utils
|
||||||
|
ports:
|
||||||
|
- "8053:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30053
|
||||||
|
depends_on:
|
||||||
|
- pv-db-utils
|
||||||
|
|
||||||
|
pv-db-utils:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-utils
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-utils:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5453:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-subscription:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-subscription:development
|
||||||
|
container_name: pv-subscription
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-subscription
|
||||||
|
ports:
|
||||||
|
- "8054:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30054
|
||||||
|
depends_on:
|
||||||
|
- pv-db-subscription
|
||||||
|
|
||||||
|
pv-db-subscription:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-subscription
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-subscription:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5454:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-salestax:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-salestax:latest
|
||||||
|
container_name: pv-salestax
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-salestax
|
||||||
|
ports:
|
||||||
|
- "8055:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30055
|
||||||
|
depends_on:
|
||||||
|
- pv-db-salestax
|
||||||
|
|
||||||
|
pv-db-salestax:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-salestax
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-salestax:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5455:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-payroll:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-payroll:development
|
||||||
|
container_name: pv-payroll
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-payroll
|
||||||
|
ports:
|
||||||
|
- "8056:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30056
|
||||||
|
depends_on:
|
||||||
|
- pv-db-payroll
|
||||||
|
|
||||||
|
pv-db-payroll:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-payroll
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-payroll:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5456:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-lottery:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-lottery:development
|
||||||
|
container_name: pv-lottery
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-lottery
|
||||||
|
ports:
|
||||||
|
- "8057:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30057
|
||||||
|
depends_on:
|
||||||
|
- pv-db-lottery
|
||||||
|
|
||||||
|
pv-db-lottery:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-lottery
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-lottery:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5457:5432"
|
||||||
|
|
||||||
|
pv-gas:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-gas:development
|
||||||
|
container_name: pv-gas
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-gas
|
||||||
|
ports:
|
||||||
|
- "8058:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30058
|
||||||
|
depends_on:
|
||||||
|
- pv-db-gas
|
||||||
|
|
||||||
|
pv-db-gas:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-gas
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-gas:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5458:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-product:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-product:development
|
||||||
|
container_name: pv-product
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-product
|
||||||
|
ports:
|
||||||
|
- "8059:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30059
|
||||||
|
depends_on:
|
||||||
|
- pv-db-product
|
||||||
|
|
||||||
|
pv-db-product:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-product
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-product:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5459:5432"
|
||||||
|
|
||||||
|
pv-cheque:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-chequeservice:development
|
||||||
|
container_name: pv-cheque
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-cheque
|
||||||
|
ports:
|
||||||
|
- "8060:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30060
|
||||||
|
depends_on:
|
||||||
|
- pv-db-cheque
|
||||||
|
|
||||||
|
pv-db-cheque:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-cheque
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-cheque:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5460:5432"
|
||||||
|
|
||||||
|
|
||||||
|
pv-timecard:
|
||||||
|
image: 147.79.66.211:3000/docker/paisavara-timecardservice:development
|
||||||
|
container_name: pv-timecard
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
|
volumes:
|
||||||
|
- .:/pv-timecard
|
||||||
|
ports:
|
||||||
|
- "8061:8000"
|
||||||
|
labels:
|
||||||
|
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
||||||
|
- kompose.service.expose=true # Expose service externally
|
||||||
|
- kompose.service.nodeport=30061
|
||||||
|
depends_on:
|
||||||
|
- pv-db-timecard
|
||||||
|
|
||||||
|
pv-db-timecard:
|
||||||
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: humbingo
|
||||||
|
POSTGRES_DB: pv-db-timecard
|
||||||
|
POSTGRES_PASSWORD: Welcome@1
|
||||||
|
volumes:
|
||||||
|
- ./pv-db-timecard:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- "5461:5432"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
|
||||||
labels:
|
|
||||||
io.kompose.service: dl-db-gas
|
|
||||||
name: dl-db-gas
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: "5441"
|
|
||||||
port: 5441
|
|
||||||
targetPort: 5432
|
|
||||||
selector:
|
|
||||||
io.kompose.service: dl-db-gas
|
|
|
@ -1,301 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
data:
|
|
||||||
docker-compose.yaml: |
|
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
|
||||||
dl-gateway:
|
|
||||||
image: git.humbingo.org/docker/dailyledger-gateway:v15
|
|
||||||
container_name: dl-gateway
|
|
||||||
restart: always
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
|
|
||||||
|
|
||||||
command: bash -c "python manage.py makemigrations --merge && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
|
||||||
volumes:
|
|
||||||
- .:/dl-gateway
|
|
||||||
ports:
|
|
||||||
- "8001:8000"
|
|
||||||
labels:
|
|
||||||
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
|
||||||
- kompose.service.expose=true # Expose service externally
|
|
||||||
- kompose.service.nodeport=30001
|
|
||||||
depends_on:
|
|
||||||
- dl-db-gateway
|
|
||||||
|
|
||||||
dl-db-gateway:
|
|
||||||
image: postgres:16
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: humbingo
|
|
||||||
POSTGRES_DB: dl-db-gateway
|
|
||||||
POSTGRES_PASSWORD: Welcome@1
|
|
||||||
volumes:
|
|
||||||
- ./dl-db-gateway:/var/lib/postgresql/data
|
|
||||||
ports:
|
|
||||||
- "5433:5432"
|
|
||||||
|
|
||||||
|
|
||||||
dl-invoice:
|
|
||||||
image: git.humbingo.org/docker/dailyledger-invoiceservice:v15
|
|
||||||
container_name: dl-invoice
|
|
||||||
restart: always
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
|
|
||||||
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
|
||||||
volumes:
|
|
||||||
- .:/dl-invoice
|
|
||||||
ports:
|
|
||||||
- "8002:8000"
|
|
||||||
labels:
|
|
||||||
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
|
||||||
- kompose.service.expose=true # Expose service externally
|
|
||||||
- kompose.service.nodeport=30002
|
|
||||||
depends_on:
|
|
||||||
- dl-db-invoice
|
|
||||||
|
|
||||||
dl-db-invoice:
|
|
||||||
image: postgres:16
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: humbingo
|
|
||||||
POSTGRES_DB: dl-db-invoice
|
|
||||||
POSTGRES_PASSWORD: Welcome@1
|
|
||||||
volumes:
|
|
||||||
- ./dl-db-invoice:/var/lib/postgresql/data
|
|
||||||
ports:
|
|
||||||
- "5434:5432"
|
|
||||||
|
|
||||||
dl-generalledger:
|
|
||||||
image: git.humbingo.org/docker/dailyledger-generalledger:v14
|
|
||||||
container_name: dl-generalledger
|
|
||||||
restart: always
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
|
|
||||||
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
|
||||||
volumes:
|
|
||||||
- .:/dl-generalledger
|
|
||||||
ports:
|
|
||||||
- "8003:8000"
|
|
||||||
labels:
|
|
||||||
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
|
||||||
- kompose.service.expose=true # Expose service externally
|
|
||||||
- kompose.service.nodeport=30003
|
|
||||||
depends_on:
|
|
||||||
- dl-db-generalledger
|
|
||||||
|
|
||||||
dl-db-generalledger:
|
|
||||||
image: postgres:16
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: humbingo
|
|
||||||
POSTGRES_DB: dl-db-generalledger
|
|
||||||
POSTGRES_PASSWORD: Welcome@1
|
|
||||||
volumes:
|
|
||||||
- ./dl-db-generalledger:/var/lib/postgresql/data
|
|
||||||
ports:
|
|
||||||
- "5435:5432"
|
|
||||||
|
|
||||||
dl-utils:
|
|
||||||
image: git.humbingo.org/docker/dailyledger-utils:v14
|
|
||||||
container_name: dl-utils
|
|
||||||
restart: always
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
|
|
||||||
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
|
||||||
volumes:
|
|
||||||
- .:/dl-utils
|
|
||||||
ports:
|
|
||||||
- "8004:8000"
|
|
||||||
labels:
|
|
||||||
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
|
||||||
- kompose.service.expose=true # Expose service externally
|
|
||||||
- kompose.service.nodeport=30004
|
|
||||||
depends_on:
|
|
||||||
- dl-db-utils
|
|
||||||
|
|
||||||
dl-db-utils:
|
|
||||||
image: postgres:16
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: humbingo
|
|
||||||
POSTGRES_DB: dl-db-utils
|
|
||||||
POSTGRES_PASSWORD: Welcome@1
|
|
||||||
volumes:
|
|
||||||
- ./dl-db-utils:/var/lib/postgresql/data
|
|
||||||
ports:
|
|
||||||
- "5436:5432"
|
|
||||||
|
|
||||||
dl-subscription:
|
|
||||||
image: git.humbingo.org/docker/dailyledger-subscription:v14
|
|
||||||
container_name: dl-subscription
|
|
||||||
restart: always
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
|
|
||||||
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
|
||||||
volumes:
|
|
||||||
- .:/dl-subscription
|
|
||||||
ports:
|
|
||||||
- "8005:8000"
|
|
||||||
labels:
|
|
||||||
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
|
||||||
- kompose.service.expose=true # Expose service externally
|
|
||||||
- kompose.service.nodeport=30005
|
|
||||||
depends_on:
|
|
||||||
- dl-db-subscription
|
|
||||||
|
|
||||||
dl-db-subscription:
|
|
||||||
image: postgres:16
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: humbingo
|
|
||||||
POSTGRES_DB: dl-db-subscription
|
|
||||||
POSTGRES_PASSWORD: Welcome@1
|
|
||||||
volumes:
|
|
||||||
- ./dl-db-subscription:/var/lib/postgresql/data
|
|
||||||
ports:
|
|
||||||
- "5437:5432"
|
|
||||||
|
|
||||||
dl-salestax:
|
|
||||||
image: git.humbingo.org/docker/dailyledger-salestax:v14
|
|
||||||
container_name: dl-salestax
|
|
||||||
restart: always
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
|
|
||||||
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
|
||||||
volumes:
|
|
||||||
- .:/dl-salestax
|
|
||||||
ports:
|
|
||||||
- "8006:8000"
|
|
||||||
labels:
|
|
||||||
- kompose.service.type=NodePort # Tell kompose to create LoadBalancer
|
|
||||||
- kompose.service.expose=true # Expose service externally
|
|
||||||
- kompose.service.nodeport=30006
|
|
||||||
depends_on:
|
|
||||||
- dl-db-salestax
|
|
||||||
|
|
||||||
dl-db-salestax:
|
|
||||||
image: postgres:16
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: humbingo
|
|
||||||
POSTGRES_DB: dl-db-salestax
|
|
||||||
POSTGRES_PASSWORD: Welcome@1
|
|
||||||
volumes:
|
|
||||||
- ./dl-db-salestax:/var/lib/postgresql/data
|
|
||||||
ports:
|
|
||||||
- "5438:5432"
|
|
||||||
|
|
||||||
|
|
||||||
dl-payroll:
|
|
||||||
image: git.humbingo.org/docker/dailyledger-payroll:v14
|
|
||||||
container_name: dl-payroll
|
|
||||||
restart: always
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
|
|
||||||
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
|
||||||
volumes:
|
|
||||||
- .:/dl-payroll
|
|
||||||
ports:
|
|
||||||
- "8007:8000"
|
|
||||||
labels:
|
|
||||||
- kompose.service.type=NodePort
|
|
||||||
- kompose.service.expose=true
|
|
||||||
- kompose.service.nodeport=30007
|
|
||||||
depends_on:
|
|
||||||
- dl-db-payroll
|
|
||||||
|
|
||||||
dl-db-payroll:
|
|
||||||
image: postgres:16
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: humbingo
|
|
||||||
POSTGRES_DB: dl-db-payroll
|
|
||||||
POSTGRES_PASSWORD: Welcome@1
|
|
||||||
volumes:
|
|
||||||
- ./dl-db-payroll:/var/lib/postgresql/data
|
|
||||||
ports:
|
|
||||||
- "5439:5432"
|
|
||||||
|
|
||||||
dl-lottery:
|
|
||||||
image: git.humbingo.org/docker/dailyledger-lottery:v14
|
|
||||||
container_name: dl-lottery
|
|
||||||
restart: always
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
|
|
||||||
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
|
||||||
volumes:
|
|
||||||
- .:/dl-lottery
|
|
||||||
ports:
|
|
||||||
- "8008:8000"
|
|
||||||
labels:
|
|
||||||
- kompose.service.type=NodePort
|
|
||||||
- kompose.service.expose=true
|
|
||||||
- kompose.service.nodeport=30008
|
|
||||||
depends_on:
|
|
||||||
- dl-db-lottery
|
|
||||||
|
|
||||||
dl-db-lottery:
|
|
||||||
image: postgres:16
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: humbingo
|
|
||||||
POSTGRES_DB: dl-db-lottery
|
|
||||||
POSTGRES_PASSWORD: Welcome@1
|
|
||||||
volumes:
|
|
||||||
- ./dl-db-lottery:/var/lib/postgresql/data
|
|
||||||
ports:
|
|
||||||
- "5440:5432"
|
|
||||||
|
|
||||||
dl-gas:
|
|
||||||
image: git.humbingo.org/docker/dailyledger-gas:v14
|
|
||||||
container_name: dl-gas
|
|
||||||
restart: always
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
|
|
||||||
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
|
||||||
volumes:
|
|
||||||
- .:/dl-gas
|
|
||||||
ports:
|
|
||||||
- "8009:8000"
|
|
||||||
labels:
|
|
||||||
- kompose.service.type=NodePort
|
|
||||||
- kompose.service.expose=true
|
|
||||||
- kompose.service.nodeport=30009
|
|
||||||
depends_on:
|
|
||||||
- dl-db-gas
|
|
||||||
|
|
||||||
dl-db-gas:
|
|
||||||
image: postgres:16
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: humbingo
|
|
||||||
POSTGRES_DB: dl-db-gas
|
|
||||||
POSTGRES_PASSWORD: Welcome@1
|
|
||||||
volumes:
|
|
||||||
- ./dl-db-gas:/var/lib/postgresql/data
|
|
||||||
ports:
|
|
||||||
- "5441:5432"
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
io.kompose.service: dl-gas
|
|
||||||
name: dl-gas-cm0
|
|
|
@ -1,21 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
|
||||||
kompose.service.expose: "true"
|
|
||||||
kompose.service.nodeport: "30009"
|
|
||||||
kompose.service.type: NodePort
|
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
|
||||||
labels:
|
|
||||||
io.kompose.service: dl-gas
|
|
||||||
name: dl-gas
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: "8009"
|
|
||||||
port: 8009
|
|
||||||
targetPort: 8000
|
|
||||||
nodePort: 30009
|
|
||||||
selector:
|
|
||||||
io.kompose.service: dl-gas
|
|
||||||
type: NodePort
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-gas-claim0
|
||||||
|
name: pv-db-gas-claim0
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
|
@ -2,44 +2,44 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-gas
|
io.kompose.service: pv-db-gas
|
||||||
name: dl-db-gas
|
name: pv-db-gas
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
io.kompose.service: dl-db-gas
|
io.kompose.service: pv-db-gas
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-db-gas
|
io.kompose.service: pv-db-gas
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: POSTGRES_DB
|
- name: POSTGRES_DB
|
||||||
value: dl-db-gas
|
value: pv-db-gas
|
||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
value: Welcome@1
|
value: Welcome@1
|
||||||
- name: POSTGRES_USER
|
- name: POSTGRES_USER
|
||||||
value: humbingo
|
value: humbingo
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
name: dl-db-gas
|
name: pv-db-gas
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/lib/postgresql/data
|
- mountPath: /var/lib/postgresql/data
|
||||||
name: dl-db-gas-claim0
|
name: pv-db-gas-claim0
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: dl-db-gas-claim0
|
- name: pv-db-gas-claim0
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: dl-db-gas-claim0
|
claimName: pv-db-gas-claim0
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-db-gas
|
||||||
|
name: pv-db-gas
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "5458"
|
||||||
|
port: 5458
|
||||||
|
targetPort: 5432
|
||||||
|
selector:
|
||||||
|
io.kompose.service: pv-db-gas
|
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue