This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
scoresaber-reloadedv3/.gitea/kubernetes/backend/deployment.yaml

39 lines
1.0 KiB
YAML
Raw Normal View History

2024-10-04 20:46:49 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: scoresaber-reloaded-backend
namespace: public-services
spec:
replicas: 1
selector:
matchLabels:
app: scoresaber-reloaded-backend
template:
metadata:
labels:
app: scoresaber-reloaded-backend
spec:
containers:
- name: scoresaber-reloaded-backend-container
image: git.fascinated.cc/fascinated/scoresaber-reloaded-backend:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 1000m # 1 vCPU
2024-10-09 00:17:00 +00:00
memory: 512Mi
env:
- name: MONGO_URI
valueFrom:
secretKeyRef:
name: ssr-backend-secret
2024-10-17 05:53:31 +00:00
key: MONGO_URI
2024-10-17 17:32:11 +00:00
- name: DISCORD_BOT_TOKEN
2024-10-17 05:53:31 +00:00
valueFrom:
secretKeyRef:
name: ssr-backend-secret
2024-10-17 17:32:11 +00:00
key: DISCORD_BOT_TOKEN