forked from ab/homelab
Added Hexound
This commit is contained in:
42
k8s/apps/hexound/deployment.yaml
Normal file
42
k8s/apps/hexound/deployment.yaml
Normal file
@ -0,0 +1,42 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: hexound
|
||||
namespace: hexound
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: hexound
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: hexound
|
||||
spec:
|
||||
volumes:
|
||||
- name: hexound-repo
|
||||
emptyDir: {}
|
||||
initContainers:
|
||||
- name: git-cloner
|
||||
image: alpine/git
|
||||
command:
|
||||
- git
|
||||
- clone
|
||||
- --depth=1
|
||||
- https://github.com/house-of-vanity/hexound.ru.git
|
||||
- /repo
|
||||
volumeMounts:
|
||||
- name: hexound-repo
|
||||
mountPath: /repo
|
||||
containers:
|
||||
- name: hexound
|
||||
image: trafex/php-nginx:3.8.0
|
||||
volumeMounts:
|
||||
- name: hexound-repo
|
||||
mountPath: /var/www/html
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
|
Reference in New Issue
Block a user