39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: homepage
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: homepage
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: homepage
|
|
spec:
|
|
containers:
|
|
- name: homepage
|
|
image: ghcr.io/gethomepage/homepage:latest
|
|
ports:
|
|
- containerPort: 3000
|
|
env:
|
|
- name: HOMEPAGE_ALLOWED_HOSTS
|
|
value: "homepage.home.server"
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /app/config/settings.yaml
|
|
subPath: settings.yaml
|
|
- name: config
|
|
mountPath: /app/config/services.yaml
|
|
subPath: services.yaml
|
|
- name: config
|
|
mountPath: /app/config/widgets.yaml
|
|
subPath: widgets.yaml
|
|
- name: config
|
|
mountPath: /app/config/bookmarks.yaml
|
|
subPath: bookmarks.yaml
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: homepage-config |