Compare commits
19 Commits
6fe6c779c4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| cf96e76d92 | |||
| 400ee84300 | |||
| ee6061a0a8 | |||
| 194fee9714 | |||
| 654247cb65 | |||
| 0ffa050a2b | |||
| b4edc49908 | |||
| 8d82ad89b7 | |||
| d2f8926f43 | |||
| 987f420095 | |||
| 4bd910f002 | |||
| 80ec447da2 | |||
| b126af4a6d | |||
| 1c6823614f | |||
| c44f64a20d | |||
| 7ad4354fb6 | |||
| 5a1d3a8021 | |||
| b0f784c901 | |||
| 90c7879346 |
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
*.yml linguist-language=YAML
|
||||||
|
*.yaml linguist-language=YAML
|
||||||
|
Caddyfile linguist-language=Caddyfile
|
||||||
376
Caddyfile
Normal file
376
Caddyfile
Normal file
@@ -0,0 +1,376 @@
|
|||||||
|
# The Caddyfile is an easy way to configure your Caddy web server.
|
||||||
|
#
|
||||||
|
# Unless the file starts with a global options block, the first
|
||||||
|
# uncommented line is always the address of your site.
|
||||||
|
#
|
||||||
|
# To use your own domain name (with automatic HTTPS), first make
|
||||||
|
# sure your domain's A/AAAA DNS records are properly pointed to
|
||||||
|
# this machine's public IP, then replace ":80" below with your
|
||||||
|
# domain name.
|
||||||
|
{
|
||||||
|
metrics {
|
||||||
|
per_host
|
||||||
|
}
|
||||||
|
crowdsec {
|
||||||
|
api_url http://localhost:8080
|
||||||
|
api_key qa2/ilnhpYrrisOIvUSYpViTgDNyT7IkHHgDgweAeBY
|
||||||
|
ticker_interval 15s
|
||||||
|
}
|
||||||
|
log {
|
||||||
|
output file /var/log/caddy/access.log
|
||||||
|
format json
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dockerreg.mycloudhaus.xyz {
|
||||||
|
# Important: These headers are required for Docker Registry
|
||||||
|
header {
|
||||||
|
-Server
|
||||||
|
Docker-Distribution-Api-Version registry/2.0
|
||||||
|
}
|
||||||
|
|
||||||
|
# Reverse proxy with proper Docker Registry support
|
||||||
|
reverse_proxy 10.0.0.1:4555 {
|
||||||
|
# Forward all headers without modification
|
||||||
|
header_up Host {host}
|
||||||
|
header_up X-Real-IP {remote}
|
||||||
|
header_up X-Forwarded-For {remote}
|
||||||
|
header_up X-Forwarded-Proto {scheme}
|
||||||
|
|
||||||
|
# Critical: Ensure chunked transfer encoding works
|
||||||
|
transport http {
|
||||||
|
read_buffer 4096
|
||||||
|
write_buffer 4096
|
||||||
|
max_response_header 8192
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Handle blob uploads correctly
|
||||||
|
handle_errors {
|
||||||
|
# If registry returns error, pass it through
|
||||||
|
respond "{http.error.status_code} {http.error.status_text}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
speed.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 10.0.0.2:8765 {
|
||||||
|
header_up Host {upstream_hostport}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tools.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
basic_auth {
|
||||||
|
jawline4392 $2a$14$fFXP3bSAH3w9Kj0t84y1aeYvYwUbYPgV29RpesEFoDTCMpcumm5Bm
|
||||||
|
}
|
||||||
|
reverse_proxy 10.0.0.1:8898
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
office.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
#basic_auth {
|
||||||
|
# theo $2a$14$mJszfW/9Pay63RdHY7Om1e0VdYaCWwP5QnpzdM7oCbrCnYQzB8.bS
|
||||||
|
# }
|
||||||
|
reverse_proxy 10.0.0.1:3033
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
docker.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 127.0.0.1:9100
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sync.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 127.0.0.1:8384 {
|
||||||
|
header_up Host localhost:8384
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
msg.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
basic_auth {
|
||||||
|
scuba8495 $2a$14$dSjT2ZkFg4h9TLDGvnN7XO1hJ/1VbFxgx0EX8UJy2tknKK/MqR1b2
|
||||||
|
}
|
||||||
|
reverse_proxy 10.0.0.2:8000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
notes.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
basic_auth {
|
||||||
|
giggly8541 $2a$14$j4eEXQZQdCWquG5lTJCaV.Uefb6D0cWQlC843tCH0cGMxdjf8AS.O
|
||||||
|
}
|
||||||
|
reverse_proxy 127.0.0.1:3050 {
|
||||||
|
header_up Host {host}
|
||||||
|
header_up X-Real-IP {remote_host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
keybr.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
basic_auth {
|
||||||
|
sneak2931 $2a$14$dQJs/1Rk8TjgK5YZSIAYU.i4avRMgRZ8uZIR47/mgI3ltYLqgf8XK
|
||||||
|
}
|
||||||
|
reverse_proxy 10.0.0.2:3000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
torrents.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
basic_auth {
|
||||||
|
unrevised0817 $2a$14$fGYDsHzx8X/EdXKW59it/ujz8ieD0Ae8q3u.mJt2vaKg4.VYPrs2C
|
||||||
|
}
|
||||||
|
reverse_proxy 10.0.0.2:9091
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
searxng.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 127.0.0.1:7001
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
boards.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 127.0.0.1:8765
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ankisync.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 127.0.0.1:27701
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dns.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 10.0.0.1:8053
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
inv.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
basic_auth {
|
||||||
|
compile6639 $2a$14$AmsLzCKhcncRJEpXCF5XZ.sq/.9RCfKtY8bg89FKkE1fpU9Y.lSUK
|
||||||
|
miha $2y$05$N1Gr6khpOaZc5YDQp8quGuQk6phsE69GoLSB3d.w7RnRc8zyQn./6
|
||||||
|
}
|
||||||
|
reverse_proxy 10.0.0.2:4000
|
||||||
|
}
|
||||||
|
log {
|
||||||
|
output discard
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
wiki.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 10.0.0.2:8008
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
radicale.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 127.0.0.1:5232
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
rss.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 127.0.0.1:8011
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
vw.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 127.0.0.1:9000 {
|
||||||
|
header_up X-Real-IP {remote_host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bookmarks.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 10.0.0.2:5000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
home.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
basic_auth {
|
||||||
|
mobster5234 $2a$14$mu69PLSK/8iMqV2e/TM2dOsW7ZuLPpjW/Aqltlug6xgQRckXJRqQ2
|
||||||
|
}
|
||||||
|
reverse_proxy 127.0.0.1:8099
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
logs.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
basic_auth {
|
||||||
|
overvalue8130 $2a$14$RjDA21av6gZynO9BInzUGuErCs9qHSIx0gDBwhyOS9iDd8f6wvQMO
|
||||||
|
}
|
||||||
|
reverse_proxy 127.0.0.1:3030
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
health.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 127.0.0.1:3001
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
git.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 10.0.0.2:3002
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playlists.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
basic_auth {
|
||||||
|
theo $2a$14$mJszfW/9Pay63RdHY7Om1e0VdYaCWwP5QnpzdM7oCbrCnYQzB8.bS
|
||||||
|
paul $2y$05$N1Gr6khpOaZc5YDQp8quGuQk6phsE69GoLSB3d.w7RnRc8zyQn./6
|
||||||
|
# "mot de passe super technique"
|
||||||
|
}
|
||||||
|
reverse_proxy 10.0.0.2:4444
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
play.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
}
|
||||||
|
reverse_proxy 10.0.0.2:4445
|
||||||
|
}
|
||||||
|
|
||||||
|
email.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
}
|
||||||
|
reverse_proxy 10.0.0.2:8025
|
||||||
|
}
|
||||||
|
|
||||||
|
translate.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 10.0.0.2:5555
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
media.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
reverse_proxy 10.0.0.2:8096
|
||||||
|
header {
|
||||||
|
X-Forwarded-Proto {scheme}
|
||||||
|
X-Forwarded-For {remote_host}
|
||||||
|
X-Real-IP {remote_host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
radio.mycloudhaus.xyz {
|
||||||
|
route {
|
||||||
|
crowdsec
|
||||||
|
# @allowed path / /profile* /admin* /docs* /logout* /login* /dashboard* /station* /public*
|
||||||
|
# reverse_proxy @allowed 10.0.0.2:6000
|
||||||
|
reverse_proxy 10.0.0.2:6000
|
||||||
|
# respond "Not found" 404
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
convert.mycloudhaus.xyz {
|
||||||
|
basic_auth {
|
||||||
|
thirstily1920 $2a$14$XAK/BYwOLKIxsPNdTKRng.fS9fIMYqOUWHj5XQriP8Eptpbm.q6Ee
|
||||||
|
}
|
||||||
|
reverse_proxy 127.0.0.1:6000
|
||||||
|
}
|
||||||
|
|
||||||
|
learn.mycloudhaus.xyz {
|
||||||
|
basic_auth {
|
||||||
|
planky273 $2y$05$te50nAtF7oT1vHht3Qy3qOUC5DBAWodCD4xjwPkrFfHjoWrE1Wa1a
|
||||||
|
}
|
||||||
|
reverse_proxy 10.0.0.2:8889
|
||||||
|
}
|
||||||
|
|
||||||
|
#prom.mycloudhaus.xyz {
|
||||||
|
# basic_auth {
|
||||||
|
# # Username "Bob", password "hiccup"
|
||||||
|
# theo $2a$14$mJszfW/9Pay63RdHY7Om1e0VdYaCWwP5QnpzdM7oCbrCnYQzB8.bS
|
||||||
|
# }
|
||||||
|
# reverse_proxy prometheus:9090
|
||||||
|
#}
|
||||||
|
#
|
||||||
|
|
||||||
|
#sec.mycloudhaus.xyz {
|
||||||
|
## basic_auth {
|
||||||
|
## Sneak9662 $2a$14$EDiuxXPPj6sXuVsr68MwjOvwcSwnVHa2Q3A.BVyuxBN1odc5FK7pG
|
||||||
|
## }
|
||||||
|
# reverse_proxy https://10.0.0.2:443 {
|
||||||
|
# transport http {
|
||||||
|
# tls_insecure_skip_verify
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
#}
|
||||||
|
|
||||||
|
mycloudhaus.xyz {
|
||||||
|
|
||||||
|
basic_auth {
|
||||||
|
overwrite7291 $2a$14$ZU0t/ykaEg4CO2hr1PPSK.3K13XEj6SKlnX9/S8/HaO98lh2nN13S
|
||||||
|
}
|
||||||
|
|
||||||
|
metrics /metrics
|
||||||
|
|
||||||
|
root * /var/www/html
|
||||||
|
encode gzip
|
||||||
|
log {
|
||||||
|
output file /var/log/caddy/my-static-site.log
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
?Cache-Control "max-age=1800"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Enable the static file server.
|
||||||
|
file_server
|
||||||
|
|
||||||
|
# Another common task is to set up a reverse proxy:
|
||||||
|
# reverse_proxy localhost:8080
|
||||||
|
|
||||||
|
# Or serve a PHP site through php-fpm:
|
||||||
|
# php_fastcgi localhost:9000
|
||||||
|
}
|
||||||
|
|
||||||
|
# Refer to the Caddy docs for more information:
|
||||||
|
# https://caddyserver.com/docs/caddyfile
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# Cloudhaus docker config
|
||||||
|
|
||||||
|
Just use
|
||||||
|
```
|
||||||
|
git clone https://git.mycloudhaus.xyz/kenny/cloudhaus-docker.git && ./start-all-docker.sh
|
||||||
|
```
|
||||||
|
|||||||
10
adguard-prometheus-exporter/docker-compose.yml
Normal file
10
adguard-prometheus-exporter/docker-compose.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
name: prometheus-adguard-exporter
|
||||||
|
services:
|
||||||
|
prometheus-adguard-exporter:
|
||||||
|
environment:
|
||||||
|
- ADGUARD_SERVERS=http://10.0.0.1:8053
|
||||||
|
- ADGUARD_USERNAMES=${USERNAME}
|
||||||
|
- ADGUARD_PASSWORDS=${PASSWORD}
|
||||||
|
image: ghcr.io/henrywhitaker3/adguard-exporter:latest
|
||||||
|
ports:
|
||||||
|
- 10.0.0.1:9618:9618
|
||||||
25
adguard/docker-compose.yml
Normal file
25
adguard/docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: adguard
|
||||||
|
services:
|
||||||
|
adguardhome:
|
||||||
|
container_name: adguardhome
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ./workdir:/opt/adguardhome/work
|
||||||
|
- ./confdir:/opt/adguardhome/conf
|
||||||
|
- /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.mycloudhaus.xyz:/certs/
|
||||||
|
ports:
|
||||||
|
- 10.0.0.1:53:53/tcp # Clean DNS
|
||||||
|
- 10.0.0.1:53:53/udp # Clean DNS
|
||||||
|
#- 67:67/udp # DHCP
|
||||||
|
#- 68:68/udp # DHCP
|
||||||
|
- 8053:80/tcp # Admin panel + DoH
|
||||||
|
#- 8443:443/tcp # DoH
|
||||||
|
#- 8443:443/udp # DoH
|
||||||
|
# - 8300:3000/tcp # DoH
|
||||||
|
- 853:853/tcp # DoT
|
||||||
|
#- 784:784/udp # DoQ
|
||||||
|
#- 853:853/udp # DoQ
|
||||||
|
#- 8853:8853/udp # DoQ
|
||||||
|
#- 5443:5443/tcp # DNSCrypt
|
||||||
|
#- 5443:5443/udp # DNSCrypt
|
||||||
|
image: adguard/adguardhome
|
||||||
31
cryptpad/docker-compose.yml
Executable file
31
cryptpad/docker-compose.yml
Executable file
@@ -0,0 +1,31 @@
|
|||||||
|
services:
|
||||||
|
cryptpad:
|
||||||
|
image: "cryptpad/cryptpad:latest"
|
||||||
|
hostname: cryptpad
|
||||||
|
|
||||||
|
environment:
|
||||||
|
- CPAD_MAIN_DOMAIN=https://office.mycloudhaus.xyz
|
||||||
|
- CPAD_SANDBOX_DOMAIN=https://office.mycloudhaus.xyz
|
||||||
|
- CPAD_CONF=/cryptpad/config/config.js
|
||||||
|
|
||||||
|
# Read and accept the license before uncommenting the following line:
|
||||||
|
# https://github.com/ONLYOFFICE/web-apps/blob/master/LICENSE.txt
|
||||||
|
- CPAD_INSTALL_ONLYOFFICE=yes
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- ./data/blob:/cryptpad/blob
|
||||||
|
- ./data/block:/cryptpad/block
|
||||||
|
- ./customize:/cryptpad/customize
|
||||||
|
- ./data/data:/cryptpad/data
|
||||||
|
- ./data/files:/cryptpad/datastore
|
||||||
|
- ./onlyoffice-dist:/cryptpad/www/common/onlyoffice/dist
|
||||||
|
- ./onlyoffice-conf:/cryptpad/onlyoffice-conf
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- "10.0.0.1:3033:3000"
|
||||||
|
#- "10.0.0.1:3034:3003"
|
||||||
|
|
||||||
|
ulimits:
|
||||||
|
nofile:
|
||||||
|
soft: 1000000
|
||||||
|
hard: 1000000
|
||||||
1
cryptpad/fix_users.md
Normal file
1
cryptpad/fix_users.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
User is 4001 inside Docker, and we cannot change that even with a 'user:' statement = owner of folders is 4001
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
networks:
|
|
||||||
gitea:
|
|
||||||
external: false
|
|
||||||
proxy-network:
|
|
||||||
external: true
|
|
||||||
|
|
||||||
services:
|
|
||||||
gitea:
|
|
||||||
image: docker.gitea.com/gitea:nightly
|
|
||||||
container_name: gitea
|
|
||||||
environment:
|
|
||||||
- USER_UID=1000
|
|
||||||
- USER_GID=1000
|
|
||||||
restart: always
|
|
||||||
networks:
|
|
||||||
- gitea
|
|
||||||
- proxy-network
|
|
||||||
volumes:
|
|
||||||
- ./gitea:/data
|
|
||||||
- /etc/timezone:/etc/timezone:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
ports:
|
|
||||||
- "127.0.0.1:3002:3000"
|
|
||||||
- "127.0.0.1:222:22"
|
|
||||||
193
glance/config/glance.yml
Normal file
193
glance/config/glance.yml
Normal file
@@ -0,0 +1,193 @@
|
|||||||
|
# glance.yml — single file with all pages merged into one page (HomeLAN)
|
||||||
|
server:
|
||||||
|
assets-path: /app/assets
|
||||||
|
|
||||||
|
theme:
|
||||||
|
custom-css-file: /assets/user.css
|
||||||
|
|
||||||
|
pages:
|
||||||
|
- name: Quick access
|
||||||
|
columns:
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: search
|
||||||
|
autofocus: true
|
||||||
|
search-engine: https://searxng.mycloudhaus.xyz/search?q={QUERY}
|
||||||
|
placeholder: "SearXNG | @in, @media, @pkg, @git"
|
||||||
|
new-tab: true
|
||||||
|
bangs:
|
||||||
|
- shortcut: "@in"
|
||||||
|
title: "Invidious"
|
||||||
|
url: "https://inv.mycloudhaus.xyz/search?q={QUERY}"
|
||||||
|
- shortcut: "@pkg"
|
||||||
|
title: "NixOS Packages"
|
||||||
|
url: "https://search.nixos.org/packages?query={QUERY}"
|
||||||
|
- shortcut: "@media"
|
||||||
|
title: "Jellyfin"
|
||||||
|
url: "http://media.mycloudhaus.xyz/web/#/search.html?query={QUERY}"
|
||||||
|
- shortcut: "@git"
|
||||||
|
title: "Github"
|
||||||
|
url: "https://github.com/search?q={QUERY}&type=repositories"
|
||||||
|
- type: dns-stats
|
||||||
|
service: adguard
|
||||||
|
url: https://dns.mycloudhaus.xyz/
|
||||||
|
username: ${ADGUARD_USER}
|
||||||
|
password: ${ADGUARD_PASSWORD}
|
||||||
|
- type: monitor
|
||||||
|
title: Apps
|
||||||
|
style: compact
|
||||||
|
cache: 1m
|
||||||
|
sites:
|
||||||
|
- title: Obsidian
|
||||||
|
url: "https://notes.mycloudhaus.xyz"
|
||||||
|
- title: Vikunja
|
||||||
|
url: "https://boards.mycloudhaus.xyz"
|
||||||
|
- title: Gitea
|
||||||
|
url: "https://git.mycloudhaus.xyz"
|
||||||
|
- title: Cryptpad
|
||||||
|
url: "https://office.mycloudhaus.xyz"
|
||||||
|
- title: Vaultwarden
|
||||||
|
url: "https://vw.mycloudhaus.xyz"
|
||||||
|
- title: Kiwix
|
||||||
|
url: "https://wiki.mycloudhaus.xyz"
|
||||||
|
- title: LibreTranslate
|
||||||
|
url: "https://translate.mycloudhaus.xyz"
|
||||||
|
- title: Keybr
|
||||||
|
url: "https://keybr.mycloudhaus.xyz"
|
||||||
|
- title: Karakeep
|
||||||
|
url: "https://bookmarks.mycloudhaus.xyz"
|
||||||
|
- title: ConvertX
|
||||||
|
url: "https://convert.mycloudhaus.xyz"
|
||||||
|
- title: IT-Tools
|
||||||
|
url: "https://tools.mycloudhaus.xyz"
|
||||||
|
- title: SearXNG
|
||||||
|
url: "https://searxng.mycloudhaus.xyz"
|
||||||
|
- type: monitor
|
||||||
|
title: Admin
|
||||||
|
style: compact
|
||||||
|
cache: 1m
|
||||||
|
sites:
|
||||||
|
- title: Grafana
|
||||||
|
url: "https://logs.mycloudhaus.xyz"
|
||||||
|
- title: Portainer
|
||||||
|
url: "https://docker.mycloudhaus.xyz"
|
||||||
|
- title: FTP online
|
||||||
|
url: "https://playlists.mycloudhaus.xyz"
|
||||||
|
- title: Speedtest Tracker
|
||||||
|
url: "https://speed.mycloudhaus.xyz"
|
||||||
|
- title: AdGuard Home
|
||||||
|
url: "https://dns.mycloudhaus.xyz"
|
||||||
|
- title: Transmission
|
||||||
|
url: "http://torrents.mycloudhaus.xyz"
|
||||||
|
- title: Syncthing Cloud
|
||||||
|
url: "https://sync.mycloudhaus.xyz"
|
||||||
|
- title: Syncthing Bigbox
|
||||||
|
url: "192.168.0.131:8384"
|
||||||
|
- title: Syncthing Puter
|
||||||
|
url: "127.0.0.1:8384"
|
||||||
|
- title: Radicale
|
||||||
|
url: "https://radicale.mycloudhaus.xyz"
|
||||||
|
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: group
|
||||||
|
widgets:
|
||||||
|
- type: hacker-news
|
||||||
|
limit: 40
|
||||||
|
collapse-after: 5
|
||||||
|
- type: lobsters
|
||||||
|
sort-by: hot
|
||||||
|
tags:
|
||||||
|
- rust
|
||||||
|
- networking
|
||||||
|
- c
|
||||||
|
- culture
|
||||||
|
- law
|
||||||
|
- cryptography
|
||||||
|
- hardware
|
||||||
|
- science
|
||||||
|
- linux
|
||||||
|
- windows
|
||||||
|
- nix
|
||||||
|
- android
|
||||||
|
- privacy
|
||||||
|
- security
|
||||||
|
- virtualization
|
||||||
|
- editors
|
||||||
|
- systemd
|
||||||
|
- vim
|
||||||
|
- type: monitor
|
||||||
|
title: Media & Content
|
||||||
|
style: compact
|
||||||
|
cache: 1m
|
||||||
|
sites:
|
||||||
|
- title: Jellyfin
|
||||||
|
url: "https://media.mycloudhaus.xyz/web/#/home.html"
|
||||||
|
- title: Invidious
|
||||||
|
url: "https://inv.mycloudhaus.xyz"
|
||||||
|
- title: Azuracast
|
||||||
|
url: "https://radio.mycloudhaus.xyz/admin/stations"
|
||||||
|
- title: Slowdown
|
||||||
|
url: "https://radio.mycloudhaus.xyz/public/teststation"
|
||||||
|
- title: Absolutely Random
|
||||||
|
url: "https://radio.mycloudhaus.xyz/public/absolutely_random"
|
||||||
|
- title: FreshRSS
|
||||||
|
url: "https://rss.mycloudhaus.xyz"
|
||||||
|
- type: videos
|
||||||
|
channels:
|
||||||
|
- UCwU7Gq3vG5kL1eknXIZvMag
|
||||||
|
- UChrYe70o7NmDioL02PRVWVg
|
||||||
|
- UCwU7Gq3vG5kL1eknXIZvMag
|
||||||
|
- UCNLRcEn78Vc62C3GkMvBgtA
|
||||||
|
- UC7YOGHUfC1Tb6E4pudI9STA
|
||||||
|
- UCQVaKQcp4OxSg1eC6SF3NTw
|
||||||
|
- UCAoUBng0Mfu0qn4lPimS6MA
|
||||||
|
- UCUMwY9iS8oMyWDYIe6_RmoA
|
||||||
|
- UCsXVk37bltHxD1rDPwtNM8Q
|
||||||
|
|
||||||
|
- name: Dashboards
|
||||||
|
columns:
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
#- type: iframe
|
||||||
|
# height: 800
|
||||||
|
# source: "https://sec.mycloudhaus.xyz/goto/cf8n2hknjrnr4e/orgId=1"
|
||||||
|
- type: iframe
|
||||||
|
height: 800
|
||||||
|
source: "https://media.mycloudhaus.xyz/web/#/home.html"
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: iframe
|
||||||
|
height: 800
|
||||||
|
source: "https://radio.mycloudhaus.xyz/public/absolutely_random"
|
||||||
|
|
||||||
|
- name: Today
|
||||||
|
columns:
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: server-stats
|
||||||
|
name: Box
|
||||||
|
- type: calendar
|
||||||
|
first-day-of-week: monday
|
||||||
|
- type: to-do
|
||||||
|
- type: releases
|
||||||
|
cache: 1d
|
||||||
|
repositories:
|
||||||
|
- glanceapp/glance
|
||||||
|
- go-gitea/gitea
|
||||||
|
- syncthing/syncthing
|
||||||
|
- iv-org/invidious
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: twitch-channels
|
||||||
|
channels:
|
||||||
|
- theprimeagen
|
||||||
|
- j_blow
|
||||||
|
- giantwaffle
|
||||||
|
- cohhcarnage
|
||||||
|
- christitustech
|
||||||
|
- EJ_SA
|
||||||
|
- type: weather
|
||||||
|
location: "Bucharest, Romania"
|
||||||
|
units: metric
|
||||||
|
hour-format: "24h"
|
||||||
@@ -2,7 +2,7 @@ set -xeu
|
|||||||
|
|
||||||
for dir in */; do
|
for dir in */; do
|
||||||
cd $dir
|
cd $dir
|
||||||
docker-compose up -d
|
docker compose up -d
|
||||||
#for dir2 in */; do
|
#for dir2 in */; do
|
||||||
# cd $dir2
|
# cd $dir2
|
||||||
# ls -d $PWD/*
|
# ls -d $PWD/*
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||||
- prometheus-data:/prometheus
|
- prometheus-data:/prometheus
|
||||||
#ports:
|
ports:
|
||||||
# - "9090:9090"
|
- "127.0.0.1:9090:9090"
|
||||||
networks:
|
networks:
|
||||||
- proxy-network
|
- proxy-network
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,11 @@ global:
|
|||||||
scrape_interval: 15s
|
scrape_interval: 15s
|
||||||
|
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
|
- job_name: 'adguard'
|
||||||
|
static_configs:
|
||||||
|
- targets: ['10.0.0.1:9618']
|
||||||
|
metrics_path: /metrics
|
||||||
|
scheme: http
|
||||||
- job_name: 'caddy'
|
- job_name: 'caddy'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['mycloudhaus.xyz']
|
- targets: ['mycloudhaus.xyz']
|
||||||
@@ -14,6 +19,11 @@ scrape_configs:
|
|||||||
- targets: ['10.0.0.3:9100']
|
- targets: ['10.0.0.3:9100']
|
||||||
metrics_path: /metrics
|
metrics_path: /metrics
|
||||||
scheme: http
|
scheme: http
|
||||||
|
- job_name: 'cloudhaus'
|
||||||
|
static_configs:
|
||||||
|
- targets: ['10.0.0.1:9600']
|
||||||
|
metrics_path: /metrics
|
||||||
|
scheme: http
|
||||||
- job_name: 'box'
|
- job_name: 'box'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['10.0.0.4:9100']
|
- targets: ['10.0.0.4:9100']
|
||||||
|
|||||||
26
quay_registry/config.yml
Normal file
26
quay_registry/config.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
version: 0.1
|
||||||
|
log:
|
||||||
|
level: debug
|
||||||
|
fields:
|
||||||
|
service: registry
|
||||||
|
storage:
|
||||||
|
cache:
|
||||||
|
blobdescriptor: inmemory
|
||||||
|
filesystem:
|
||||||
|
rootdirectory: /var/lib/registry
|
||||||
|
delete:
|
||||||
|
enabled: true
|
||||||
|
http:
|
||||||
|
addr: :5000
|
||||||
|
secret: generate-a-random-secret-here
|
||||||
|
headers:
|
||||||
|
X-Content-Type-Options: [nosniff]
|
||||||
|
validation:
|
||||||
|
manifests:
|
||||||
|
oci:
|
||||||
|
enabled: true
|
||||||
|
# proxy: # Comment out or remove
|
||||||
|
# remoteurl: https://quay.io # these lines
|
||||||
|
compatibility:
|
||||||
|
schema1:
|
||||||
|
enabled: true
|
||||||
13
quay_registry/docker-compose.yml
Normal file
13
quay_registry/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
services:
|
||||||
|
quay-mirror:
|
||||||
|
image: registry:3 # Use v3 instead of v2
|
||||||
|
container_name: quay-mirror
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "10.0.0.1:4555:5000"
|
||||||
|
environment:
|
||||||
|
#- REGISTRY_PROXY_REMOTEURL=https://quay.io
|
||||||
|
- REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/var/lib/registry
|
||||||
|
- REGISTRY_HTTP_SECRET=generate-a-random-secret-here
|
||||||
|
volumes:
|
||||||
|
- ./registry-data:/var/lib/registry
|
||||||
10
quay_registry/tag-invidious.sh
Executable file
10
quay_registry/tag-invidious.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
docker pull quay.io/invidious/invidious-companion:latest
|
||||||
|
docker pull quay.io/invidious/invidious-invidious:latest
|
||||||
|
docker tag quay.io/invidious/invidious-companion:latest dockerreg.mycloudhaus.xyz/invidious/invidious-companion:latest
|
||||||
|
docker tag quay.io/invidious/invidious:latest dockerreg.mycloudhaus.xyz/invidious/invidious:latest
|
||||||
|
docker push dockerreg.mycloudhaus.xyz/invidious/invidious-companion:latest
|
||||||
|
docker push dockerreg.mycloudhaus.xyz/invidious/invidious:latest
|
||||||
|
#docker rmi quay.io/invidious/invidious-companion:latest dockerreg.mycloudhaus.xyz/invidious/invidious-companion:latest
|
||||||
|
#docker rmi quay.io/invidious/invidious:latest dockerreg.mycloudhaus.xyz/invidious/invidious:latest
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -xeu
|
set -xeu
|
||||||
|
|
||||||
|
cd /home/clouduser/docker
|
||||||
|
|
||||||
for dir in */; do
|
for dir in */; do
|
||||||
cd $dir
|
cd $dir
|
||||||
docker compose down
|
docker compose down
|
||||||
|
|||||||
Reference in New Issue
Block a user