mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2025-10-03 17:06:16 +00:00
cleaning
This commit is contained in:
36
Homepage/Homepage/docker-compose.yaml
Normal file
36
Homepage/Homepage/docker-compose.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
version: "3.3"
|
||||
services:
|
||||
homepage:
|
||||
image: ghcr.io/benphelps/homepage:latest
|
||||
container_name: homepage
|
||||
# uncomment if you do not want to run as root
|
||||
#user: 1000:1000
|
||||
# uncomment if you are not using a reverse proxy
|
||||
#ports:
|
||||
# - 3000:3000
|
||||
volumes:
|
||||
- /home/ubuntu/docker/homepage/config:/app/config # Make sure your local config directory exists
|
||||
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
|
||||
networks:
|
||||
proxy:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.homepage.entrypoints=http"
|
||||
- "traefik.http.routers.homepage.rule=Host(`homepage.jimsgarage.co.uk`)"
|
||||
- "traefik.http.routers.homepage.middlewares=default-whitelist@file"
|
||||
- "traefik.http.middlewares.homepage-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.homepage.middlewares=homepage-https-redirect"
|
||||
- "traefik.http.routers.homepage-secure.entrypoints=https"
|
||||
- "traefik.http.routers.homepage-secure.rule=Host(`homepage.jimsgarage.co.uk`)"
|
||||
- "traefik.http.routers.homepage-secure.tls=true"
|
||||
- "traefik.http.routers.homepage-secure.service=homepage"
|
||||
- "traefik.http.services.homepage.loadbalancer.server.port=3000"
|
||||
# - "traefik.http.routers.homepage-secure.middlewares=default-whitelist@file" # uncomment if you want to use a Traefik whitelist to restrict access
|
||||
# - "traefik.http.routers.homepage-secure.middlewares=authelia@docker" # uncomment if you want to use authelia
|
||||
# - "traefik.docker.network=proxy"
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
41
Homepage/Homepage/services.yaml
Normal file
41
Homepage/Homepage/services.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/en/configs/services
|
||||
|
||||
- My First Group:
|
||||
- My First Service:
|
||||
href: http://localhost/
|
||||
description: Homepage is awesome
|
||||
|
||||
- Traefik:
|
||||
icon: traefik.png
|
||||
href: "http://traefik.jimsgarage.co.uk"
|
||||
description: Reverse Proxy
|
||||
server: my-docker # The docker server that was configured
|
||||
container: traefik # The name of the container you'd like to connect
|
||||
widget:
|
||||
type: traefik
|
||||
url: https://traefik.jimsgarage.co.uk
|
||||
username: admin
|
||||
password: gT8ni3iX6QkKreWfAdYKe4xqVsaMRUQ4GG7xn59Q
|
||||
|
||||
- PiHole:
|
||||
icon: pi-hole.png
|
||||
href: "http://pihole.jimsgarage.co.uk"
|
||||
description: DNS Ad Blocker
|
||||
server: my-docker # The docker server that was configured
|
||||
container: pihole # The name of the container you'd like to connect
|
||||
widget:
|
||||
type: pihole
|
||||
url: http://192.168.8.2
|
||||
key: 73T8oBs9MFKLVAC3mAs2KQbWSsqA7oe2PN9r9H4TQWg2TXNAdq4ZPzvy8oEv
|
||||
|
||||
- My Second Group:
|
||||
- My Second Service:
|
||||
href: http://localhost/
|
||||
description: Homepage is the best
|
||||
|
||||
- My Third Group:
|
||||
- My Third Service:
|
||||
href: http://localhost/
|
||||
description: Homepage is 😎
|
Reference in New Issue
Block a user