46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: foundry-vtt
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: foundry-vtt
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: foundry-vtt
|
|
spec:
|
|
containers:
|
|
- name: foundry-vtt
|
|
image: felddy/foundryvtt:release
|
|
ports:
|
|
- containerPort: 30000
|
|
protocol: TCP
|
|
name: web-ui
|
|
envFrom:
|
|
- secretRef:
|
|
name: foundry-vtt-secret
|
|
env:
|
|
- name: FOUNDRY_MINIFY_STATIC_FILES
|
|
value: "true"
|
|
- name: FOUNDRY_HOSTNAME
|
|
value: "foundry.mynest.love"
|
|
- name: FOUNDRY_PROXY_PORT
|
|
value: "443"
|
|
- name: FOUNDRY_PROXY_SSL
|
|
value: "true"
|
|
volumeMounts:
|
|
- mountPath: /data
|
|
name: foundry-vtt-volume
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: foundry-vtt-volume
|
|
nfs:
|
|
server: birdfeeder2.home.nest
|
|
path: /k3s/foundryvtt
|