mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-25 01:15:59 +00:00
Refactor Docker and Kubernetes configurations to update Redis volume mapping and constraints for Docmost service
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
run: nginx
|
||||
name: nginx-deploy-blue
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
run: nginx-blue
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
run: nginx-blue
|
||||
spec:
|
||||
volumes:
|
||||
- name: webdata
|
||||
emptyDir: {}
|
||||
initContainers:
|
||||
- name: web-content
|
||||
image: busybox
|
||||
volumeMounts:
|
||||
- name: webdata
|
||||
mountPath: "/webdata"
|
||||
command: ["/bin/sh", "-c", 'echo "<h1>I am <font color=blue>BLUE</font></h1>" > /webdata/index.html']
|
||||
containers:
|
||||
- image: nginx
|
||||
name: nginx
|
||||
volumeMounts:
|
||||
- name: webdata
|
||||
mountPath: "/usr/share/nginx/html"
|
||||
Reference in New Issue
Block a user