mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-25 03:26:30 +00:00
33 lines
693 B
YAML
33 lines
693 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: deps-rs
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: deps-rs
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: deps-rs
|
||
|
spec:
|
||
|
volumes:
|
||
|
- name: cargo
|
||
|
emptyDir: {}
|
||
|
containers:
|
||
|
- name: deps-rs
|
||
|
image: ghcr.io/deps-rs/deps.rs:latest
|
||
|
imagePullPolicy: Always
|
||
|
ports:
|
||
|
- containerPort: 8080
|
||
|
env:
|
||
|
- name: BASE_URL
|
||
|
value: https://$(DOMAIN)
|
||
|
volumeMounts:
|
||
|
- mountPath: /home/deps/.cargo
|
||
|
name: cargo
|
||
|
readinessProbe:
|
||
|
httpGet:
|
||
|
path: /
|
||
|
port: 8080
|