31 lines
561 B
YAML
31 lines
561 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: nocodb-deployment
|
||
|
namespace: default
|
||
|
labels:
|
||
|
app: nocodb
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: nocodb
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: nocodb
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: nocodb
|
||
|
image: nocodb/nocodb:latest
|
||
|
ports:
|
||
|
- containerPort: 8080
|
||
|
volumeMounts:
|
||
|
- name: noco-data
|
||
|
mountPath: /usr/app/data
|
||
|
volumes:
|
||
|
- name: noco-data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: noco-pvc
|
||
|
|