Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a92c0bb16 | ||
|
|
8d788aaf25 | ||
|
|
e9dc6a284a | ||
|
|
156ec87493 | ||
|
|
16810bf7fd | ||
|
|
6e8c4d6998 | ||
|
|
2b4ca7a64a | ||
|
|
5a1e697c0a | ||
|
|
a370768b90 | ||
|
|
8507515e56 | ||
|
|
b66575bd29 | ||
|
|
cb71286c1e | ||
|
|
9c8774527f | ||
|
|
e0e90aa291 | ||
|
|
da3945378a | ||
|
|
dc88683e06 |
@@ -19,7 +19,6 @@ build:
|
|||||||
script:
|
script:
|
||||||
- echo $DEPLOY
|
- echo $DEPLOY
|
||||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
||||||
|
|
||||||
deploy_to_prod:
|
deploy_to_prod:
|
||||||
variables:
|
variables:
|
||||||
DEPLOY: prod
|
DEPLOY: prod
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
## Deploy
|
## Deploy
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
helm template homer --set tag=1.1.1 ./helm | kubectl apply -f -
|
helm install homer ./helm
|
||||||
```
|
```
|
||||||
BIN
assets/tools/glances.png
Normal file
BIN
assets/tools/glances.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
BIN
assets/tools/pgadmin.ico
Normal file
BIN
assets/tools/pgadmin.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
49
config.yml
49
config.yml
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: "Reese's Homelab"
|
title: "Reese's Homelab"
|
||||||
subtitle: "Duconet"
|
subtitle: "Duconet"
|
||||||
icon: "fas fa-database" # Optional icon
|
icon: "fas fa-tachometer-alt" # Optional icon
|
||||||
footer: false
|
footer: false
|
||||||
|
|
||||||
links: [] # Allows for navbar (dark mode, layout, and search) without any links
|
links: [] # Allows for navbar (dark mode, layout, and search) without any links
|
||||||
services:
|
services:
|
||||||
- name: "DevOps"
|
- name: "DevSecOps"
|
||||||
icon: "fas fa-code-branch"
|
icon: "fas fa-code-branch"
|
||||||
items:
|
items:
|
||||||
- name: "Gitlab"
|
- name: "Gitlab"
|
||||||
@@ -14,6 +14,11 @@ services:
|
|||||||
tag: "CI"
|
tag: "CI"
|
||||||
url: "https://gitlab.ducoterra.net/"
|
url: "https://gitlab.ducoterra.net/"
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
|
- name: "pgAdmin"
|
||||||
|
logo: "assets/tools/pgadmin.ico"
|
||||||
|
tag: "CI"
|
||||||
|
url: "https://pgadmin.ducoterra.net/"
|
||||||
|
target: '_blank'
|
||||||
- name: "Storage"
|
- name: "Storage"
|
||||||
icon: "fas fa-save"
|
icon: "fas fa-save"
|
||||||
items:
|
items:
|
||||||
@@ -25,7 +30,7 @@ services:
|
|||||||
- name: "Freenas"
|
- name: "Freenas"
|
||||||
logo: "assets/tools/freenas.png"
|
logo: "assets/tools/freenas.png"
|
||||||
tag: "Storage"
|
tag: "Storage"
|
||||||
url: "https://freenas.ducoterra.net/"
|
url: "http://freenas.ducoterra.net/"
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
- name: "Entertainment"
|
- name: "Entertainment"
|
||||||
icon: "fas fa-photo-video"
|
icon: "fas fa-photo-video"
|
||||||
@@ -53,9 +58,19 @@ services:
|
|||||||
url: "https://zipkin.ducoterra.net/"
|
url: "https://zipkin.ducoterra.net/"
|
||||||
tag: "Monitoring"
|
tag: "Monitoring"
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
|
- name: "Mainframe"
|
||||||
|
logo: "assets/tools/glances.png"
|
||||||
|
url: "https://monitor.ducoterra.net/"
|
||||||
|
tag: "Monitoring"
|
||||||
|
target: '_blank'
|
||||||
- name: "Network"
|
- name: "Network"
|
||||||
icon: "fas fa-server"
|
icon: "fas fa-server"
|
||||||
items:
|
items:
|
||||||
|
- name: "Traefik"
|
||||||
|
logo: assets/tools/traefik.png
|
||||||
|
tag: "Network"
|
||||||
|
url: "https://traefik.ducoterra.net/"
|
||||||
|
target: '_blank'
|
||||||
- name: "Unifi"
|
- name: "Unifi"
|
||||||
logo: assets/tools/unifi.png
|
logo: assets/tools/unifi.png
|
||||||
tag: "Network"
|
tag: "Network"
|
||||||
@@ -65,32 +80,4 @@ services:
|
|||||||
logo: assets/tools/protect.ico
|
logo: assets/tools/protect.ico
|
||||||
tag: "Network"
|
tag: "Network"
|
||||||
url: "https://protect.ui.com/"
|
url: "https://protect.ui.com/"
|
||||||
target: '_blank'
|
|
||||||
- name: "Traefik Internal"
|
|
||||||
logo: assets/tools/traefik.png
|
|
||||||
tag: "Network"
|
|
||||||
url: "https://traefik-internal.ducoterra.net/"
|
|
||||||
target: '_blank'
|
|
||||||
- name: "Traefik External"
|
|
||||||
logo: assets/tools/traefik.png
|
|
||||||
tag: "Network"
|
|
||||||
url: "https://traefik-external.ducoterra.net/"
|
|
||||||
target: '_blank'
|
|
||||||
- name: "Pihole1"
|
|
||||||
logo: assets/tools/pihole.svg
|
|
||||||
tag: "Network"
|
|
||||||
url: "https://pihole1.ducoterra.net/admin/"
|
|
||||||
target: '_blank'
|
|
||||||
- name: "Pihole2"
|
|
||||||
logo: assets/tools/pihole.svg
|
|
||||||
tag: "Network"
|
|
||||||
url: "https://pihole2.ducoterra.net/admin/"
|
|
||||||
target: '_blank'
|
|
||||||
- name: "Tools"
|
|
||||||
icon: "fas fa-wrench"
|
|
||||||
items:
|
|
||||||
- name: "SVG Editor"
|
|
||||||
icon: "fas fa-icons"
|
|
||||||
tag: "Tools"
|
|
||||||
url: "https://svg-edit.github.io/svgedit/editor/svg-editor.html"
|
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
@@ -3,7 +3,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
homer:
|
homer:
|
||||||
build: .
|
build: .
|
||||||
image: hub.ducoterra.net/ducoterra/homer:1.0.0
|
image: hub.ducoterra.net/ducoterra/homer:1.0.2
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,31 +1,29 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-internal-tls
|
name: {{ .Release.Name }}-tls
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-internal
|
kubernetes.io/ingress.class: traefik
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
tls:
|
tls:
|
||||||
certResolver: myresolver
|
certResolver: duconet
|
||||||
domains:
|
|
||||||
- main: "*.ducoterra.net"
|
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`{{ .Release.Name }}.ducoterra.net`)
|
- match: Host(`{{ .Release.Name }}.ducoterra.net`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: {{ .Release.Name }}
|
- name: {{ .Release.Name }}
|
||||||
port: 8080
|
port: 8080
|
||||||
|
middlewares:
|
||||||
|
- name: basic-auth-{{ .Release.Name }}
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-internal-web
|
name: {{ .Release.Name }}
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-internal
|
kubernetes.io/ingress.class: traefik
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web
|
- web
|
||||||
@@ -36,4 +34,22 @@ spec:
|
|||||||
- name: {{ .Release.Name }}
|
- name: {{ .Release.Name }}
|
||||||
port: 8080
|
port: 8080
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: httpsredirect
|
- name: httpsredirect-{{ .Release.Name }}
|
||||||
|
---
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: httpsredirect-{{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
redirectScheme:
|
||||||
|
scheme: https
|
||||||
|
permanent: true
|
||||||
|
---
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: basic-auth-{{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
basicAuth:
|
||||||
|
secret: authsecret
|
||||||
|
removeHeader: true
|
||||||
@@ -1 +1,2 @@
|
|||||||
image: hub.ducoterra.net/ducoterra/homer
|
image: hub.ducoterra.net/ducoterra/homer
|
||||||
|
tag: 1.1.5
|
||||||
Reference in New Issue
Block a user