34 lines
671 B
YAML
34 lines
671 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: memos
|
||
|
namespace: memos
|
||
|
labels:
|
||
|
app: memos
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: memos
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: memos
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: app
|
||
|
image: neosmemo/memos:stable
|
||
|
env:
|
||
|
- name: MEMOS_PORT
|
||
|
value: '5230'
|
||
|
ports:
|
||
|
- name: app
|
||
|
containerPort: 5230
|
||
|
volumeMounts:
|
||
|
- mountPath: /var/opt/memos
|
||
|
name: flexvolsmb-memos-data
|
||
|
volumes:
|
||
|
- name: flexvolsmb-memos-data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: flexvolsmb-memos-data
|