forked from Botanical/BotanJS
Added nginx sidecar for direct access
This commit is contained in:
parent
9e1cb7f8a8
commit
3f02576dd8
@ -55,6 +55,11 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: cache
|
- name: cache
|
||||||
mountPath: "/app/cache"
|
mountPath: "/app/cache"
|
||||||
|
- name: assets
|
||||||
|
image: nginx:alpine
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: "/usr/share/nginx/html"
|
||||||
|
name: cache
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@ -85,3 +90,7 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 5000
|
- port: 5000
|
||||||
targetPort: 5000
|
targetPort: 5000
|
||||||
|
name: application
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
|
name: files
|
||||||
|
Loading…
Reference in New Issue
Block a user