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