mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 23:40:05 +00:00
deployemnt stuff
This commit is contained in:
27
deployment/proxy.yml
Normal file
27
deployment/proxy.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: backend-deployment
|
||||
namespace: osu-music
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: backend
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: backend
|
||||
spec:
|
||||
containers:
|
||||
- name: proxy-container
|
||||
image: proxy
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: proxy-data
|
||||
mountPath: /app/data
|
||||
volumes:
|
||||
- name: proxy-data
|
||||
persistentVolumeClaim:
|
||||
claimName: proxy-data-pvc
|
||||
Reference in New Issue
Block a user