diff --git a/.gitea/workflows/demo2.yaml b/.gitea/workflows/demo2.yaml index 394c807..b86e3d9 100644 --- a/.gitea/workflows/demo2.yaml +++ b/.gitea/workflows/demo2.yaml @@ -1,9 +1,9 @@ -name: Gitea Actions Demo +name: Deploy Stacks run-name: ${{ gitea.actor }} is testing out Gitea Actions πŸš€ on: [push] jobs: - Explore-Gitea-Actions: + Redeploy_services_stacks: runs-on: ubuntu-latest steps: - run: echo "πŸŽ‰ The job was automatically triggered by a ${{ gitea.event_name }} event." @@ -16,4 +16,4 @@ jobs: - name: List files in the repository run: | ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file + - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/caddy/Caddyfile b/caddy/Caddyfile index c6c9260..16bf459 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -54,16 +54,14 @@ ccalifice.com { respond "Hello ccalifice!" } -files.sereiaguardia.com { - redir https://files.sereiaguardia.com:8088{uri} permanent -} - files.sereiaguardia.com:8088 { - reverse_proxy 192.168.1.67:8088 + # reverse_proxy 192.168.1.67:8088 + respond "Hello" } -files.sereiaguardia.com:9021 { - reverse_proxy 192.168.1.67:9021 +http://192.168.1.202:8088 { + reverse_proxy 192.168.1.67:8088 + respond "Hello" } *.bortolasosail.com.br, bortolasosail.com.br { diff --git a/caddy/docker-compose.yml b/caddy/docker-compose.yml index ded7795..9f4e5ee 100644 --- a/caddy/docker-compose.yml +++ b/caddy/docker-compose.yml @@ -12,12 +12,11 @@ services: - "80:80" - "443:443" - "443:443/udp" - - "8282:8282" - "8088:8088" volumes: - ./Caddyfile:/etc/caddy/Caddyfile - ./site/bortolaso-sail:/srv/bortolaso-sail - - ./site/ariang:/srv/ariang +# - ./site/ariang:/srv/ariang - ./caddy-data:/data - ./caddy-config:/config - ./site/webhook-gtm:/srv/webhook-gtm @@ -48,6 +47,38 @@ services: # networks: # - caddy-net + +# ddns-updater: +# image: qmcgaw/ddns-updater +# container_name: ddns-updater +# network_mode: bridge +# ports: +# - 8008:8000/tcp +# volumes: +# - ./ddns/data:/updater/data +# environment: +# - CONFIG= +# - PERIOD=5m +# - UPDATE_COOLDOWN_PERIOD=5m +# - PUBLICIP_FETCHERS=all +# - PUBLICIP_HTTP_PROVIDERS=all +# - PUBLICIPV4_HTTP_PROVIDERS=all +# - PUBLICIPV6_HTTP_PROVIDERS=all +# - PUBLICIP_DNS_PROVIDERS=all +# - PUBLICIP_DNS_TIMEOUT=3s +# - HTTP_TIMEOUT=10s + # Web UI +# - LISTENING_ADDRESS=:8000 +# - ROOT_URL=/ + # Backup +# - BACKUP_PERIOD=0 # 0 to disable +# - BACKUP_DIRECTORY=/updater/data + # Other +# - LOG_LEVEL=info +# - LOG_CALLER=hidden +# - SHOUTRRR_ADDRESSES= +# restart: always + networks: caddy-net: driver: bridge diff --git a/ghostfolio/docker-compose.yml b/ghostfolio/docker-compose.yml index e1005f8..4845462 100644 --- a/ghostfolio/docker-compose.yml +++ b/ghostfolio/docker-compose.yml @@ -47,7 +47,7 @@ services: timeout: 5s retries: 5 volumes: - - ./postgres:/var/lib/postgresql/data + - /home/ccalifice/docker-data/ghostfolio/postgres:/var/lib/postgresql/data redis: image: docker.io/library/redis:alpine diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index fdaa3e3..08f1d1d 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -15,11 +15,12 @@ services: - GITEA__database__NAME=gitea - GITEA__database__USER=gitea - GITEA__database__PASSWD=gitea + - GITEA__webhook__ALLOWED_HOST_LIST=* restart: unless-stopped networks: - gitea volumes: - - ./gitea:/data + - /home/ccalifice/docker-data/gitea/gitea:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: @@ -39,10 +40,10 @@ services: networks: - gitea volumes: - - ./postgres:/var/lib/postgresql/data + - /home/ccalifice/docker-data/gitea/postgres:/var/lib/postgresql/data runner: - image: docker.io/gitea/act_runner:nightly + image: docker.io/gitea/act_runner:latest container_name: gitea-runner environment: CONFIG_FILE: /config.yaml @@ -50,6 +51,6 @@ services: GITEA_RUNNER_REGISTRATION_TOKEN: "JjKRS66pgttENtYVVmhnT3TpfjVMfH7mIdEY19R3" GITEA_RUNNER_NAME: "services-runner" volumes: - - ./runner/config.yaml:/config.yaml - - ./runner/data:/data + - /home/ccalifice/docker-data/gitea/runner/config.yaml:/config.yaml + - /home/ccalifice/docker-data/gitea/runner/data:/data - /var/run/docker.sock:/var/run/docker.sock diff --git a/gitea/runner/config.yaml b/gitea/runner/config.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/grafana/docker-compose.yml b/grafana/docker-compose.yml index 887d971..f0cb704 100644 --- a/grafana/docker-compose.yml +++ b/grafana/docker-compose.yml @@ -10,7 +10,7 @@ services: container_name: promtail image: grafana/promtail:latest volumes: - - ./var/log:/var/log + - /home/ccalifice/docker-data/grafana/var/log:/var/log command: -config.file=/etc/promtail/config.yml alloy: @@ -18,7 +18,7 @@ services: image: grafana/alloy:latest profiles: ['alloy'] volumes: - - ./config/alloy:/etc/alloy + - /home/ccalifice/docker-data/grafana/config/alloy:/etc/alloy grafana: environment: @@ -51,15 +51,15 @@ services: ports: - "3003:3000" volumes: - - ./data:/var/lib/grafana + - /home/ccalifice/docker-data/grafana/data:/var/lib/grafana user: "1000:1002" container_name: grafana prometheus: image: prom/prometheus volumes: - - "./prometheus.yml:/etc/prometheus/prometheus.yml" - - ./prometheus-data:/prometheus + - "/home/ccalifice/docker-data/grafana/prometheus.yml:/etc/prometheus/prometheus.yml" + - /home/ccalifice/docker-data/grafana/prometheus-data:/prometheus ports: - 9090:9090 user: "1000:1002" diff --git a/grafana/prometheus.yml b/grafana/prometheus.yml deleted file mode 100644 index f85955f..0000000 --- a/grafana/prometheus.yml +++ /dev/null @@ -1,9 +0,0 @@ -global: - scrape_interval: 10s -scrape_configs: - - job_name: prometheus - static_configs: - - targets: - - 192.168.1.202:9100 - - 192.168.1.201:9100 - - 85.209.92.53:9100 \ No newline at end of file diff --git a/guacamole/docker-compose.yml b/guacamole/docker-compose.yml index e564acb..d51389d 100644 --- a/guacamole/docker-compose.yml +++ b/guacamole/docker-compose.yml @@ -13,8 +13,8 @@ services: image: guacamole/guacd:1.6.0 restart: always volumes: - - ./drive:/drive:rw - - ./record:/record:rw + - /home/ccalifice/docker-data/guacamole/drive:/drive:rw + - /home/ccalifice/docker-data/guacamole/record:/record:rw # postgres postgres: @@ -27,8 +27,8 @@ services: image: postgres:15.2-alpine restart: always volumes: - - ./init:/docker-entrypoint-initdb.d:z - - ./data:/var/lib/postgresql/data:Z + - /home/ccalifice/docker-data/guacamole/init:/docker-entrypoint-initdb.d:z + - /home/ccalifice/docker-data/guacamole/data:/var/lib/postgresql/data:Z # guacamole guacamole: @@ -50,7 +50,7 @@ services: - caddy-net - default volumes: - - ./record:/record:rw + - /home/ccalifice/docker-data/guacamole/record:/record:rw ports: ## enable next line if not using nginx - 8085:8080/tcp # Guacamole is on :8080/guacamole, not /. diff --git a/immich-app/.env b/immich-app/.env index 0118f90..159eba5 100644 --- a/immich-app/.env +++ b/immich-app/.env @@ -14,6 +14,6 @@ DB_PASSWORD=asdf1234 DB_HOSTNAME=immich_postgres DB_USERNAME=postgres DB_DATABASE_NAME=immich -DB_DATA_LOCATION=./pgdata +DB_DATA_LOCATION=/home/ccalifice/docker-data/immich/pgdata REDIS_HOSTNAME=immich_redis diff --git a/immich-app/docker-compose.yml b/immich-app/docker-compose.yml index 15fd6b7..de94c49 100644 --- a/immich-app/docker-compose.yml +++ b/immich-app/docker-compose.yml @@ -22,7 +22,7 @@ services: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} volumes: - - ./model-cache:/cache + - /home/ccalifice/docker-data/immich/model-cache:/cache env_file: - .env restart: unless-stopped @@ -47,7 +47,7 @@ services: # DB_STORAGE_TYPE: 'HDD' volumes: - ${DB_DATA_LOCATION}:/var/lib/postgresql/data - - ./dump:/dump + - /home/ccalifice/docker-data/immich/dump:/dump restart: unless-stopped shm_size: 128mb diff --git a/komodo/docker-compose.yml b/komodo/docker-compose.yml index 36931e3..9a93ed5 100644 --- a/komodo/docker-compose.yml +++ b/komodo/docker-compose.yml @@ -85,6 +85,7 @@ services: ## or docker will get confused. See https://github.com/moghtech/komodo/discussions/180. ## Default: /etc/komodo. - ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo} + - /home/ccalifice/compose-projects:/home/ccalifice/compose-projects volumes: # Postgres diff --git a/memos/docker-compose.yml b/memos/docker-compose.yml index 086efac..c545311 100644 --- a/memos/docker-compose.yml +++ b/memos/docker-compose.yml @@ -5,5 +5,5 @@ services: ports: - 5230:5230 volumes: - - ./memos/:/var/opt/memos + - /home/ccalifice/docker-data/memos:/var/opt/memos image: neosmemo/memos:stable \ No newline at end of file diff --git a/monitoring/docker-compose.yml b/monitoring/docker-compose.yml index 7bb1afd..bf984c8 100644 --- a/monitoring/docker-compose.yml +++ b/monitoring/docker-compose.yml @@ -5,8 +5,8 @@ services: ports: - 8086:8086 volumes: - - ./scrutiny/config/influxdb2/db:/var/lib/influxdb2 - - ./scrutiny/config/influxdb2/config:/etc/influxdb2 + - /home/ccalifice/docker-data/monitoring/scrutiny/config/influxdb2/db:/var/lib/influxdb2 + - /home/ccalifice/docker-data/monitoring/scrutiny/config/influxdb2/config:/etc/influxdb2 environment: - DOCKER_INFLUXDB_INIT_MODE=setup - DOCKER_INFLUXDB_INIT_USERNAME=Admin @@ -24,7 +24,7 @@ services: ports: - 8081:8080 volumes: - - ./scrutiny/config/scrutiny/config:/opt/scrutiny/config + - /home/ccalifice/docker-data/monitoring/scrutiny/config/scrutiny/config:/opt/scrutiny/config environment: - SCRUTINY_WEB_INFLUXDB_HOST=scrutiny-influxdb - SCRUTINY_WEB_INFLUXDB_PORT=8086 @@ -51,17 +51,16 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock # Uncomment the below line if you want glances to display host OS detail instead of container's - - /etc/os-release:/etc/os-release:ro - - /mnt/restic:/restic + - /etc/os-release:/etc/os-release:ro - /:/host:ro environment: - "GLANCES_OPT=-w" uptime-kuma: - image: louislam/uptime-kuma:1 + image: louislam/uptime-kuma:2 container_name: uptime-kuma volumes: - - ./uptime-kuma/uptime-kuma-data:/app/data + - /home/ccalifice/docker-data/monitoring/uptime-kuma/uptime-kuma-data:/app/data ports: - 3001:3001 # : restart: unless-stopped @@ -84,9 +83,9 @@ services: - NTFY_BEHIND_PROXY=true - NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments volumes: - - ./ntfy/var/cache/ntfy:/var/cache/ntfy - - ./ntfy/var/lib/ntfy/:/var/lib/ntfy/ - - ./ntfy/etc/ntfy:/etc/ntfy + - /home/ccalifice/docker-data/monitoring/ntfy/var/cache/ntfy:/var/cache/ntfy + - /home/ccalifice/docker-data/monitoring/ntfy/var/lib/ntfy/:/var/lib/ntfy/ + - /home/ccalifice/docker-data/monitoring/ntfy/etc/ntfy:/etc/ntfy ports: - 9898:80 restart: unless-stopped @@ -104,7 +103,7 @@ services: ports: - 3000:3000 volumes: - - ./homepage/config:/app/config # Make sure your local config directory exists + - /home/ccalifice/docker-data/monitoring/homepage/config:/app/config # Make sure your local config directory exists restart: unless-stopped # glance: diff --git a/monitoring/glance/assets/sereiaguardia.webp b/monitoring/glance/assets/sereiaguardia.webp deleted file mode 100644 index b5c550a..0000000 Binary files a/monitoring/glance/assets/sereiaguardia.webp and /dev/null differ diff --git a/monitoring/glance/assets/sgpro.png b/monitoring/glance/assets/sgpro.png deleted file mode 100644 index bd6f9f9..0000000 Binary files a/monitoring/glance/assets/sgpro.png and /dev/null differ diff --git a/monitoring/glance/assets/user.css b/monitoring/glance/assets/user.css deleted file mode 100644 index e69de29..0000000 diff --git a/monitoring/glance/config/glance.yml b/monitoring/glance/config/glance.yml deleted file mode 100644 index aca518b..0000000 --- a/monitoring/glance/config/glance.yml +++ /dev/null @@ -1,16 +0,0 @@ -server: - assets-path: /app/assets - -theme: - theme: - background-color: 240 21 15 - contrast-multiplier: 1.2 - primary-color: 217 92 83 - positive-color: 115 54 76 - negative-color: 347 70 65 - custom-css-file: /assets/user.css - -pages: - # It's not necessary to create a new file for each page and include it, you can simply - # put its contents here, though multiple pages are easier to manage when separated - - $include: home.yml diff --git a/monitoring/glance/config/home.yml b/monitoring/glance/config/home.yml deleted file mode 100644 index 884bad1..0000000 --- a/monitoring/glance/config/home.yml +++ /dev/null @@ -1,175 +0,0 @@ -- name: Home - # Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look - # hide-desktop-navigation: true - columns: - - size: small - widgets: - - type: calendar - first-day-of-week: monday - - - type: to-do - - - type: server-stats - servers: - - type: local - name: Services - hide-mountpoints-by-default: true - mountpoints: - "/": - hide: false - #- type: remote - # name: arr-stack - - - - size: full - widgets: - - - type: monitor - title: Sereia GuardiΓ£ - cache: 1m - sites: - - title: Pro - url: https://pro.sereiaguardia.com - icon: /assets/sereiaguardia.webp - - title: Files - url: https://files.sereiaguardia.com:8088 - icon: di:filebrowser.svg - - title: n8n - url: https://n8n.sereiaguardia.com - icon: di:n8n.svg - - title: Mautic - url: https://mautic.sereiaguardia.com/s/login - icon: di:mautic.svg - - title: Pangolin - url: https://pangolin.sereiaguardia.com - icon: di:pangolin.svg - - - type: monitor - title: arr-stack - cache: 1m - sites: - - title: Jellyfin - url: http://192.168.1.201:8096/ - icon: di:jellyfin.svg - - title: Prowlarr - url: http://192.168.1.201:9696/ - icon: di:prowlarr.svg - #- title: Jackett - # url: http://192.168.1.201:9117/api/v2.0/ - # icon: di:jackett.svg - - title: Sonarr - url: http://192.168.1.201:8989/ - icon: di:sonarr.svg - - title: Radarr - url: http://192.168.1.201:7878/ - icon: di:radarr.svg - - title: Bazarr - url: http://192.168.1.201:6767/ - icon: di:bazarr.svg - - title: Stash - url: http://192.168.1.201:9999/ - icon: di:stash.svg - - title: Jellyseerr - url: http://192.168.1.201:5055/ - icon: di:jellyseerr.svg - - title: Kavita - url: http://192.168.1.201:5000/ - icon: di:kavita.svg - - title: Slskd - url: http://192.168.1.201:5030/ - icon: di:slskd.svg - - - type: monitor - title: Services - LAN - cache: 1m - sites: - - title: OpenMediaVault - url: http://192.168.1.67 - icon: di:openmediavault.svg - - title: Komodo - url: http://192.168.1.202:9120/ - icon: di:komodo.svg - - title: Gitea - url: http://192.168.1.202:3005/ - icon: di:gitea.svg - - title: Scrutiny - url: http://192.168.1.202:8081/ - icon: di:gitea.svg - - title: NAS - url: http://192.168.1.65/ - icon: di:nas.svg - - - type: monitor - title: Services - Internet - cache: 1m - sites: - - title: Vaultwarden - url: https://vaultwarden.ccalifice.com/#/login - icon: di:vaultwarden.svg - - title: Immich - url: https://immich.ccalifice.com - icon: di:immich.svg - - title: Ntfy - url: https://ntfy.ccalifice.com - icon: di:ntfy.svg - - title: n8 - url: https://n8n.ccalifice.com - icon: di:n8n.svg - - title: paperless - url: https://paperless.ccalifice.com - icon: di:paperless.svg - - title: Guacamole - url: https://remote.ccalifice.com/guacamole/#/ - icon: di:guacamole.svg - - - type: monitor - title: Utils - cache: 1m - sites: - - title: Cyberchef - url: http://192.168.1.202:8383 - icon: di:cyberchef.svg - - title: Stirling PDF - url: http://192.168.1.202:8585 - icon: di:stirling-pdf.svg - - title: Gitea - url: http://192.168.1.202:3005/ - icon: di:gitea.svg - - title: Scrutiny - url: http://192.168.1.202:8081/ - icon: di:gitea.svg - - - - - size: small - widgets: - - type: weather - location: Porto Alegre, Brazil - units: metric # alternatively "imperial" - hour-format: 24h # alternatively "24h" - # Optionally hide the location from being displayed in the widget - # hide-location: true - - - type: markets - markets: - - symbol: SPY - name: S&P 500 - - symbol: BTC-USD - name: Bitcoin - - symbol: NVDA - name: NVIDIA - - symbol: AAPL - name: Apple - - symbol: MSFT - name: Microsoft - - - type: releases - cache: 1d - # Without authentication the Github API allows for up to 60 requests per hour. You can create a - # read-only token from your Github account settings and use it here to increase the limit. - token: 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 - repositories: - - glanceapp/glance - - go-gitea/gitea - - immich-app/immich - - syncthing/syncthing diff --git a/monitoring/homepage/config/bookmarks.yaml b/monitoring/homepage/config/bookmarks.yaml deleted file mode 100644 index bede0b4..0000000 --- a/monitoring/homepage/config/bookmarks.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -# For configuration options and examples, please see: -# https://gethomepage.dev/latest/configs/bookmarks diff --git a/monitoring/homepage/config/custom.css b/monitoring/homepage/config/custom.css deleted file mode 100644 index e69de29..0000000 diff --git a/monitoring/homepage/config/custom.js b/monitoring/homepage/config/custom.js deleted file mode 100644 index e69de29..0000000 diff --git a/monitoring/homepage/config/docker.yaml b/monitoring/homepage/config/docker.yaml deleted file mode 100644 index 5ee2c58..0000000 --- a/monitoring/homepage/config/docker.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# For configuration options and examples, please see: -# https://gethomepage.dev/latest/configs/docker/ - -#arr-docker: -# host: 192.168.1.201 -# port: 2375 - -#services-docker: -# host: 192.168.1.202 -# port: 2375 - -#morganna-docker: -# host: 192.168.1.204 -# port: 2375 diff --git a/monitoring/homepage/config/kubernetes.yaml b/monitoring/homepage/config/kubernetes.yaml deleted file mode 100644 index aca6e82..0000000 --- a/monitoring/homepage/config/kubernetes.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# sample kubernetes config diff --git a/monitoring/homepage/config/proxmox.yaml b/monitoring/homepage/config/proxmox.yaml deleted file mode 100644 index 9fd1836..0000000 --- a/monitoring/homepage/config/proxmox.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -# url: https://proxmox.host.or.ip:8006 -# token: username@pam!Token ID -# secret: secret diff --git a/monitoring/homepage/config/services.yaml b/monitoring/homepage/config/services.yaml deleted file mode 100644 index 19bc9d3..0000000 --- a/monitoring/homepage/config/services.yaml +++ /dev/null @@ -1,394 +0,0 @@ ---- -- arr-stack - system: - - Info: - widget: - type: glances - version: 4 - url: http://192.168.1.201:61208/ - metric: info - - CPU Usage: - widget: - type: glances - version: 4 - url: http://192.168.1.201:61208/ - metric: cpu - - Network Usage: - widget: - type: glances - version: 4 - url: http://192.168.1.201:61208/ - metric: network:eth0 - - Processes: - widget: - type: glances - version: 4 - url: http://192.168.1.201:61208/ - metric: process - - HDD 1tb: - widget: - type: glances - version: 4 - url: http://192.168.1.201:61208/ - metric: fs:/mnt/hdd_1tb - - arr-stack VM Disk: - widget: - type: glances - version: 4 - url: http://192.168.1.201:61208/ - metric: fs:/host - -- arr-stack: - - Sonarr: - icon: sonarr.png - href: http://192.168.1.201:8989 - description: Series management - siteMonitor: http://192.168.1.201:8989 - widget: - type: sonarr - url: http://192.168.1.201:8989 - key: 2c3dff8fe1424040b7ec10c12f074e33 - - - Radarr: - icon: radarr.png - href: http://192.168.1.201:7878 - siteMonitor: http://192.168.1.201:7878 - description: Movie management - widget: - type: radarr - url: http://192.168.1.201:7878 - key: 0ed5600b7e474a9bbf6f948a369c4358 - - - Prowlarr: - icon: prowlarr.png - href: http://192.168.1.201:9696 - siteMonitor: http://192.168.1.201:9696 - description: Indexer - widget: - type: prowlarr - url: http://192.168.1.201:9696 - key: 9bc5e3fa954041e7b28887db40a431ce - - - Bazarr: - icon: bazarr.png - href: http://192.168.1.201:6767 - siteMonitor: http://192.168.1.201:6767 - description: Subtitles - widget: - type: bazarr - url: http://192.168.1.201:6767 - key: af19fa8ee8410e3a3a832d1a096bd699 - - - Jellyfin: - icon: jellyfin.png - href: http://192.168.1.201:8096 - siteMonitor: http://192.168.1.201:8096 - description: Media Server - widget: - type: jellyfin - url: http://192.168.1.201:8096 - key: 20d878b9933445aeb9882b64a3acb339 - enableBlocks: true # optional, defaults to false - enableNowPlaying: true - - - Plex: - icon: plex.png - href: http://192.168.1.201:32400 - siteMonitor: http://192.168.1.201:32400 - description: Media Server - widget: - type: plex - url: http://192.168.1.201:32400 - key: dBZxRsWZAcTxnefgt2RH # see https://www.plexopedia.com/plex-media-server/general/plex-token/ - fields: ["streams", "albums", "movies", "tv"] - - - qBittorrent: - icon: qbittorrent.png - href: http://192.168.1.201:8181 - siteMonitor: http://192.168.1.201:8181 - description: Torrent Client - widget: - type: qbittorrent - url: http://192.168.1.201:8181 - username: admin - password: asdf1234 - download: true - - - Jellyseer: - icon: jellyseerr.svg - href: http://192.168.1.201:5055/ - siteMonitor: http://192.168.1.201:5055/ - description: Media requests - widget: - type: jellyseerr - url: http://192.168.1.201:5055 - key: MTcxMDI4MDQyMTg2MWUwMzczODBhLTQ1MGEtNGE3Yy1hYWNjLWMxNzA4YTk5Zjk1Ng== - - - "What's Up Docker": - icon: whats-up-docker.svg - href: http://192.168.1.201:3500/ - siteMonitor: http://192.168.1.201:3500/ - description: Docker image updates - widget: - type: whatsupdocker - url: http://192.168.1.201:3500/ - #username: username # optional - #password: password # optional - fields: ["monitoring", "updates"] - - - Stash: - icon: stash.svg - href: http://192.168.1.201:9999/ - siteMonitor: http://192.168.1.201:9999/ - description: Stash - widget: - type: stash - url: http://192.168.1.201:9999/ - key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJjY2FsaWZpY2UiLCJzdWIiOiJBUElLZXkiLCJpYXQiOjE3NDE5NTY3OTN9.UWTnuuWhw0mFNQVWcXCer-NA8IyipxoGx0VieHW7XRQ - fields: ["scenes", "images"] - - - Kavita: - icon: kavita.svg - href: http://192.168.1.201:5000/ - siteMonitor: http://192.168.1.201:5000/ - description: Kavita - widget: - type: kavita - url: http://192.168.1.201:5000/ - username: ccalifice - password: malvado6696 - - - slskd: - icon: slskd.svg - href: http://192.168.1.201:5030 - siteMonitor: http://192.168.1.201:5030 - -- services - system: - - Info: - widget: - type: glances - url: http://192.168.1.202:61208/ - metric: info - version: 4 - - CPU Usage: - widget: - type: glances - url: http://192.168.1.202:61208/ - metric: cpu - version: 4 - - Network Usage: - widget: - type: glances - url: http://192.168.1.202:61208/ - metric: network:eth0 - version: 4 - - Processes: - widget: - type: glances - url: http://192.168.1.202:61208/ - metric: process - version: 4 - - NAS: - widget: - type: glances - url: http://192.168.1.202:61208/ - metric: fs:/mnt/restic - version: 4 - - Services VM Disk: - widget: - type: glances - url: http://192.168.1.202:61208/ - metric: fs:/host - version: 4 - -- services: - - AdGaurd Home: - icon: adguard-home.svg - href: http://192.168.1.199 - description: Ad Blocking DNS - siteMonitor: http://192.168.1.199 - widget: - type: adguard - url: http://192.168.1.199 - username: ccalifice - password: malvado6696 - fields: ["queries", "blocked", "filtered", "latency"] - - - Immich: - icon: immich.png - href: http://192.168.1.202:2283 - description: Photo Gallery - siteMonitor: http://192.168.1.202:2283 - widget: - type: immich - version: 2 - url: http://192.168.1.202:2283 - key: nl8yUC308pHYsoCb1dM275NsdsONBMDrAR1qNANc - - - Paperless: - icon: paperless.png - href: http://192.168.1.202:8000 - siteMonitor: http://192.168.1.202:8000 - description: Document management - widget: - type: paperlessngx - url: http://192.168.1.202:8000 - username: chris - password: malvado6696 - - - Firefly III: - icon: firefly.png - href: http://192.168.1.202:88/ - siteMonitor: http://192.168.1.202:88/ - description: Finance - - - Filebrowser: - icon: filebrowser.png - href: http://192.168.1.202:8686 - siteMonitor: http://192.168.1.202:8686 - description: File browser - - # - Wireguard: - # icon: wireguard.png - # href: http://192.168.1.202:51821/ - # siteMonitor: http://192.168.1.202:51821/ - # description: VPN - - - Vaultwarden: - icon: vaultwarden.png - href: http://192.168.1.202:8080 - siteMonitor: http://192.168.1.202:8080 - description: Password manager - - - Ghostfolio: - icon: ghostfolio.png - href: http://192.168.1.202:3333 - siteMonitor: http://192.168.1.202:3333 - description: Wealth management - - - Memos: - icon: memos.png - href: http://192.168.1.202:5230/ - siteMonitor: http://192.168.1.202:5230/ - - - Ntfy: - icon: ntfy.svg - href: http://192.168.1.202:9898/ - siteMonitor: http://192.168.1.202:9898/ - - - n8n: - icon: n8n.svg - href: https://n8n.ccalifice.com/ - siteMonitor: https://n8n.ccalifice.com/ - - - Guacamole: - icon: guacamole.svg - href: https://remote.ccalifice.com/guacamole/#/ - siteMonitor: https://remote.ccalifice.com/guacamole/#/ - - - Vikunja: - icon: vikunja.svg - href: https://tasks.ccalifice.com/login - siteMonitor: https://tasks.ccalifice.com/login - - - Grafana: - icon: grafana.svg - href: http://192.168.1.202:3003/login - siteMonitor: http://192.168.1.202:3003/login - - -- hostinger: - - Odoo: - icon: odoo.svg - href: https://pro.sereiaguardia.com/ - siteMonitor: https://pro.sereiaguardia.com/ - - - n8n: - icon: n8n.svg - href: https://n8n.sereiaguardia.com/ - siteMonitor: https://n8n.sereiaguardia.com/ - - # - Vikunja: - # icon: vikunja.svg - # href: https://tasks.sereiaguardia.com/ - # siteMonitor: https://tasks.sereiaguardia.com/ - - - Mautic: - icon: mautic.svg - href: https://mautic.sereiaguardia.com/ - siteMonitor: https://mautic.sereiaguardia.com/s/login - - - Files: - icon: filebrowser.svg - href: https://files.sereiaguardia.com:8088 - siteMonitor: https://files.sereiaguardia.com:8088 - -- hostinger - system: - - Info: - widget: - type: glances - url: https://glances.sereiaguardia.com/ - metric: info - version: 4 - - CPU Usage: - widget: - type: glances - url: https://glances.sereiaguardia.com/ - metric: cpu - version: 4 - - Network Usage: - widget: - type: glances - url: https://glances.sereiaguardia.com/ - metric: network:eth0 - version: 4 - - Processes: - widget: - type: glances - url: https://glances.sereiaguardia.com/ - metric: process - version: 4 - - VM Disk: - widget: - type: glances - url: https://glances.sereiaguardia.com/ - metric: fs:/host - version: 4 - -# - morganna - system: -# - Info: -# widget: -# type: glances -# version: 4 -# url: http://192.168.1.204:61208/ -# metric: info -# - CPU Usage: -# widget: -# type: glances -# version: 4 -# url: http://192.168.1.204:61208/ -# metric: cpu -# - Network Usage: -# widget: -# type: glances -# version: 4 -# url: http://192.168.1.204:61208/ -# metric: network:eth0 -# - Processes: -# widget: -# type: glances -# version: 4 -# url: http://192.168.1.204:61208/ -# metric: process -# - VM Disk: -# widget: -# type: glances -# version: 4 -# url: http://192.168.1.204:61208/ -# metric: fs:/host - -# - morganna: -# - Filebrowser: -# icon: filebrowser.png -# href: http://192.168.1.204:8088 -# siteMonitor: http://192.168.1.204:8088 -# description: File browser diff --git a/monitoring/homepage/config/settings.yaml b/monitoring/homepage/config/settings.yaml deleted file mode 100644 index ccd9d57..0000000 --- a/monitoring/homepage/config/settings.yaml +++ /dev/null @@ -1,46 +0,0 @@ ---- -# For configuration options and examples, please see: -# https://gethomepage.dev/latest/configs/settings - -title: Homelab dashboard - -providers: - openweathermap: openweathermapapikey - weatherapi: weatherapiapikey - -statusStyle: "dot" -#hideErrors: true - -layout: - arr-stack: - tab: arr-stack - style: row - columns: 4 - arr-stack - system: - tab: arr-stack - style: row - columns: 4 - services: - tab: services - style: row - columns: 4 - services - system: - tab: services - style: row - columns: 4 - # morganna: - # tab: morganna - # style: row - # columns: 4 - # morganna - system: - # tab: morganna - # style: row - # columns: 4 - hostinger: - tab: hostinger - style: row - columns: 4 - hostinger - system: - tab: hostinger - style: row - columns: 4 \ No newline at end of file diff --git a/monitoring/homepage/config/widgets.yaml b/monitoring/homepage/config/widgets.yaml deleted file mode 100644 index 10c0d42..0000000 --- a/monitoring/homepage/config/widgets.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -# For configuration options and examples, please see: -# https://gethomepage.dev/latest/configs/widgets - -- glances: - url: http://192.168.1.201:61208 - username: user # optional if auth enabled in Glances - password: pass # optional if auth enabled in Glances - cpu: true - mem: true - uptime: true # disabled by default - expanded: true # show the expanded view - label: arr-stack # optional - version: 4 - -- glances: - url: http://192.168.1.202:61208 - username: user # optional if auth enabled in Glances - password: pass # optional if auth enabled in Glances - cpu: true - mem: true - uptime: true # disabled by default - expanded: true # show the expanded view - label: services # optional - version: 4 - -# - glances: -# url: http://192.168.1.204:61208 -# username: user # optional if auth enabled in Glances -# password: pass # optional if auth enabled in Glances -# cpu: true -# mem: true -# uptime: true # disabled by default -# expanded: true # show the expanded view -# label: morganna # optional -# version: 4 - -- glances: - url: https://glances.sereiaguardia.com - username: user # optional if auth enabled in Glances - password: pass # optional if auth enabled in Glances - cpu: true - mem: true - uptime: true # disabled by default - expanded: true # show the expanded view - label: hostinger # optional - version: 4 diff --git a/monitoring/scrutiny/config/scrutiny/config/scrutiny.yaml b/monitoring/scrutiny/config/scrutiny/config/scrutiny.yaml deleted file mode 100644 index 05e20eb..0000000 --- a/monitoring/scrutiny/config/scrutiny/config/scrutiny.yaml +++ /dev/null @@ -1,106 +0,0 @@ -# Commented Scrutiny Configuration File -# -# The default location for this file is /opt/scrutiny/config/scrutiny.yaml. -# In some cases to improve clarity default values are specified, -# uncommented. Other example values are commented out. -# -# When this file is parsed by Scrutiny, all configuration file keys are -# lowercased automatically. As such, Configuration keys are case-insensitive, -# and should be lowercase in this file to be consistent with usage. - - -###################################################################### -# Version -# -# version specifies the version of this configuration file schema, not -# the scrutiny binary. There is only 1 version available at the moment -version: 1 - -web: - listen: - port: 8080 - host: 0.0.0.0 - - # if you're using a reverse proxy like apache/nginx, you can override this value to serve scrutiny on a subpath. - # eg. http://example.com/scrutiny/* vs http://example.com:8080 - # see docs/TROUBLESHOOTING_REVERSE_PROXY.md - # basepath: `/scrutiny` - # leave empty unless behind a path prefixed proxy - basepath: '' - database: - # can also set absolute path here - location: /opt/scrutiny/config/scrutiny.db - src: - # the location on the filesystem where scrutiny javascript + css is located - frontend: - path: /opt/scrutiny/web - - # if you're running influxdb on a different host (or using a cloud-provider) you'll need to update the host & port below. - # token, org, bucket are unnecessary for a new InfluxDB installation, as Scrutiny will automatically run the InfluxDB setup, - # and store the information in the config file. If you 're re-using an existing influxdb installation, you'll need to provide - # the `token` - influxdb: -# scheme: 'http' - host: 0.0.0.0 - port: 8086 -# token: 'my-token' -# org: 'my-org' -# bucket: 'bucket' - retention_policy: true - # if you wish to disable TLS certificate verification, - # when using self-signed certificates for example, - # then uncomment the lines below and set `insecure_skip_verify: true` - # tls: - # insecure_skip_verify: false - -log: - file: '' #absolute or relative paths allowed, eg. web.log - level: INFO - - -# Notification "urls" look like the following. For more information about service specific configuration see -# Shoutrrr's documentation: https://containrrr.dev/shoutrrr/services/overview/ -# -# note, usernames and passwords containing special characters will need to be urlencoded. -# if your username is: "myname@example.com" and your password is "124@34$1" -# your shoutrrr url will look like: "smtp://myname%40example%2Ecom:124%4034%241@ms.my.domain.com:587" - -notify: - urls: -# - "discord://token@webhookid" -# - "telegram://token@telegram?channels=channel-1[,channel-2,...]" -# - "pushover://shoutrrr:apiToken@userKey/?priority=1&devices=device1[,device2, ...]" -# - "slack://[botname@]token-a/token-b/token-c" -# - "smtp://username:password@host:port/?fromAddress=fromAddress&toAddresses=recipient1[,recipient2,...]" -# - "teams://token-a/token-b/token-c" -# - "gotify://gotify-host/token" -# - "pushbullet://api-token[/device/#channel/email]" -# - "ifttt://key/?events=event1[,event2,...]&value1=value1&value2=value2&value3=value3" -# - "mattermost://[username@]mattermost-host/token[/channel]" - - "ntfy://ccalifice:malvado6696@http://192.168.1.202:9898/smart" -# - "hangouts://chat.googleapis.com/v1/spaces/FOO/messages?key=bar&token=baz" -# - "zulip://bot-mail:bot-key@zulip-domain/?stream=name-or-id&topic=name" -# - "join://shoutrrr:api-key@join/?devices=device1[,device2, ...][&icon=icon][&title=title]" -# - "script:///file/path/on/disk" -# - "https://www.example.com/path" - -######################################################################################################################## -# FEATURES COMING SOON -# -# The following commented out sections are a preview of additional configuration options that will be available soon. -# -######################################################################################################################## - -#limits: -# ata: -# critical: -# error: 10 -# standard: -# error: 20 -# warn: 10 -# scsi: -# critical: true -# standard: true -# nvme: -# critical: true -# standard: true diff --git a/n8n/docker-compose.yml b/n8n/docker-compose.yml index 4630420..3f7b806 100644 --- a/n8n/docker-compose.yml +++ b/n8n/docker-compose.yml @@ -23,8 +23,8 @@ services: - WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/ - GENERIC_TIMEZONE=${GENERIC_TIMEZONE} volumes: - - ./n8n_data:/home/node/.n8n - - ./files:/files + - /home/ccalifice/docker-data/n8n/n8n_data:/home/node/.n8n + - /home/ccalifice/docker-data/n8n/files:/files depends_on: - db restart: unless-stopped @@ -36,7 +36,7 @@ services: image: postgres:12 container_name: n8n-db volumes: - - ./db-data:/var/lib/postgresql/data + - /home/ccalifice/docker-data/n8n/db-data:/var/lib/postgresql/data environment: - POSTGRES_USER=n8n - POSTGRES_PASSWORD=n8n diff --git a/paperless/docker-compose.yml b/paperless/docker-compose.yml index d65db18..b373e39 100644 --- a/paperless/docker-compose.yml +++ b/paperless/docker-compose.yml @@ -4,13 +4,13 @@ services: image: docker.io/library/redis:7 restart: unless-stopped volumes: - - ./redisdata:/data + - /home/ccalifice/docker-data/paperless/redisdata:/data db: image: docker.io/library/postgres:15 restart: unless-stopped volumes: - - ./pgdata:/var/lib/postgresql/data + - /home/ccalifice/docker-data/paperless/pgdata:/var/lib/postgresql/data environment: POSTGRES_DB: paperless POSTGRES_USER: paperless @@ -34,10 +34,10 @@ services: timeout: 10s retries: 5 volumes: - - ./data:/usr/src/paperless/data - - ./media:/usr/src/paperless/media - - ./export:/usr/src/paperless/export - - ./consume:/usr/src/paperless/consume + - /home/ccalifice/docker-data/paperless/data:/usr/src/paperless/data + - /home/ccalifice/docker-data/paperless/media:/usr/src/paperless/media + - /home/ccalifice/docker-data/paperless/export:/usr/src/paperless/export + - /home/ccalifice/docker-data/paperless/consume:/usr/src/paperless/consume env_file: .docker-compose.env environment: PAPERLESS_REDIS: redis://broker:6379 diff --git a/vaultwarden/docker-compose.yml b/vaultwarden/docker-compose.yml index a229813..5389f04 100755 --- a/vaultwarden/docker-compose.yml +++ b/vaultwarden/docker-compose.yml @@ -4,7 +4,7 @@ services: container_name: vaultwarden restart: unless-stopped volumes: - - ./vw-data:/data + - /home/ccalifice/docker-data/vaultwarden/vw-data:/data ports: - 8080:80 env_file: