0xemma-patch-1 #1
@ -23,25 +23,18 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: mirror
|
- name: mirror
|
||||||
image: 0xemma/nginx-autoindex:json-2
|
image: ghcr.io/0xemma/mirror-main:v1.0.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 8000Mi
|
memory: 800Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 8000Mi
|
memory: 800Mi
|
||||||
volumeMounts:
|
|
||||||
- name: config
|
|
||||||
mountPath: /var/lib/nginx/html
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 3000
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 80
|
port: 3000
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
configMap:
|
|
||||||
name: caddy-config-mirror
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user