51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: nextexplorer
|
||
|
|
namespace: nextexplorer
|
||
|
|
labels:
|
||
|
|
app: nextexplorer
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: nextexplorer
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: nextexplorer
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: nextexplorer
|
||
|
|
image: ghcr.io/cerede2000/explorer:3.5.0-lean
|
||
|
|
env:
|
||
|
|
- name: PUBLIC_URL
|
||
|
|
# value: https://st.itch.fyi
|
||
|
|
value: https://st.itch.fyi
|
||
|
|
- name: SESSION_SECRET
|
||
|
|
value: VPd67z54NMceyvnPNaSCtktuePTbcIPU
|
||
|
|
ports:
|
||
|
|
- name: web
|
||
|
|
containerPort: 3000
|
||
|
|
volumeMounts:
|
||
|
|
- mountPath: /config
|
||
|
|
name: csismb-nextexplorer-config
|
||
|
|
- mountPath: /cache
|
||
|
|
name: csismb-nextexplorer-cache
|
||
|
|
- mountPath: /mnt/Storage
|
||
|
|
name: csismb-nextexplorer-storage
|
||
|
|
securityContext:
|
||
|
|
fsGroup: 1000
|
||
|
|
runAsUser: 1000
|
||
|
|
runAsGroup: 1000
|
||
|
|
volumes:
|
||
|
|
- name: csismb-nextexplorer-config
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: csismb-nextexplorer-config
|
||
|
|
- name: csismb-nextexplorer-cache
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: csismb-nextexplorer-cache
|
||
|
|
- name: csismb-nextexplorer-storage
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: csismb-nextexplorer-storage
|