1
0

Compare commits

...

4 Commits

Author SHA1 Message Date
c18c745400 Update README 2025-07-07 21:59:28 +00:00
5d3aff6df5 Added more limit to arch cpu 2025-07-07 21:59:23 +00:00
fc91496720 Added shared dir between filwbrowser and libreoffice 2025-07-07 21:59:15 +00:00
f334c2185e Fix type 2025-07-01 16:38:12 +00:00
5 changed files with 32 additions and 31 deletions

View File

@ -1,36 +1,35 @@
# Self-Hosted Services
This repository contains my personal Docker Compose configuration for various self-hosted services, all exposed via Traefik.
It serves primarily as a personal deployment configuration and a reference for others.
This repository contains my personal Docker Compose configuration for various self-hosted services, all exposed via Traefik. It serves primarily as a personal deployment configuration and a reference for others.
---
***
### Services Included:
- **Traefik:** Reverse proxy and load balancer with automatic HTTPS, now also handling SSH entry points and `bouvais.lu` redirection.
- **Prometheus:** Monitoring system.
- **Grafana:** Data visualization and dashboarding for Prometheus.
- **cAdvisor:** Container resource usage and performance analysis.
- **Node Exporter:** Exposes hardware and OS metrics for Prometheus.
- **Nvidia GPU Exporter:** Exposes NVIDIA GPU metrics for Prometheus.
- **Fail2Ban:** Intrusion prevention for various services, specifically configured to monitor Docker logs.
- **Vaultwarden:** Unofficial Bitwarden server implementation, with an added secure admin interface.
- **Kopia:** Fast, secure, and incremental backups, with a web UI.
- **Siyuan:** A local-first personal knowledge management system (replaces Memos).
- **Jellyfin:** Free software media system.
- **Filebrowser:** Web interface to browse and manage files.
- **Gitea:** Lightweight Git service (this repository is hosted on it!), also serving documentation via MkDocs.
- **Gitea Runner:** A runner for Gitea actions.
- **MkDocs ZipponDB:** Serves documentation generated by MkDocs.
- **Actual Budget:** Local-first personal finance app.
- **MinIO:** High performance, S3 compatible object storage.
- **Open WebUI:** A user-friendly interface for interacting with large language models.
- **Ollama:** A framework for running large language models locally, with GPU support.
- **Personal Website (website-pro):** A custom-built professional website.
* **Traefik:** Reverse proxy and load balancer with automatic HTTPS, now also handling SSH entry points and `bouvais.lu` redirection.
* **Monitoring Stack:**
* **Prometheus:** Monitoring system.
* **Grafana:** Data visualization and dashboarding for Prometheus.
* **cAdvisor:** Container resource usage and performance analysis.
* **Node Exporter:** Exposes hardware and OS metrics for Prometheus.
* **Nvidia GPU Exporter:** Exposes NVIDIA GPU metrics for Prometheus.
* **Fail2Ban:** Intrusion prevention for various services, specifically configured to monitor Traefik's access logs.
* **Vaultwarden:** Unofficial Bitwarden server implementation, with an added secure admin interface.
* **Kopia:** Two instances for fast, secure, and incremental backups: one for local backups (`kopia`) and another for off-site backups to Google Cloud Platform (`kopia-gcp`).
* **Siyuan:** A local-first personal knowledge management system.
* **Jellyfin:** Free software media system.
* **Filebrowser:** Web interface to browse and manage files.
* **LibreOffice Online:** A web-based version of the LibreOffice suite for in-browser document editing.
* **Gitea & Gitea Runner:** A lightweight Git service and a runner for Gitea actions.
* **MkDocs:** Serves a static documentation site generated by MkDocs.
* **Docker Registry & UI:** A private Docker registry to store custom images, complete with a web interface for management.
* **Actual Budget:** Local-first personal finance app.
* **MinIO:** High performance, S3 compatible object storage. For DVC.
* **Open WebUI & Pipelines:** A user-friendly interface for interacting with large language models, supported by a backend pipeline service.
* **Web-based Arch Linux Terminals:** Two `ttyd`-based containers (`arch-cpu` and `arch-gpu`) providing persistent Arch Linux environments accessible through a web browser, with one configured for GPU access.
---
***
### Usage
This repository is not intended for direct cloning and deployment as-is. It is highly tailored to my specific setup, including domain names (`bouvais.lu`), paths, and personal configurations.
However, you can use this repository as an example or reference.
This repository is not intended for direct cloning and deployment as-is. It is highly tailored to my specific setup, including domain names (`bouvais.lu`), paths, and personal configurations. However, you can use this repository as an example or reference.

View File

@ -106,6 +106,7 @@ services:
- 3001:3001
volumes:
- ./hdd0/libreoffice:/config
- ./hdd0/my_files/:/data
restart: unless-stopped
labels:
- traefik.enable=true

View File

@ -45,7 +45,7 @@ services:
- ./config/users.cred:/users.cred
- ./hdd0/logs:/logs
labels:
- traefik.enable=true"
- traefik.enable=true
# Dashboard Router
- traefik.http.routers.dashboard.rule=Host(`traefik.bouvais.lu`)
- traefik.http.routers.dashboard.entrypoints=websecure
@ -148,7 +148,7 @@ services:
volumes:
- ./hdd0/minio_data:/data
labels:
- traefik.enable=true"
- traefik.enable=true
# Router and service for the MinIO API
- traefik.http.routers.minio-api.rule=Host(`minio-api.bouvais.lu`)
- traefik.http.routers.minio-api.entrypoints=websecure

View File

@ -39,7 +39,7 @@ services:
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_MY_PASSWORD}
- GF_SERVER_ROOT_URL=https://grafana.bouvais.lu
labels:
- traefik.enable=true"
- traefik.enable=true
- traefik.http.routers.grafana.rule=Host(`grafana.bouvais.lu`)
- traefik.http.routers.grafana.entrypoints=websecure
- traefik.http.routers.grafana.tls.certresolver=myresolver

View File

@ -21,8 +21,8 @@ services:
deploy:
resources:
limits:
cpus: '1.0'
memory: 512M
cpus: '2.0'
memory: 1G
reservations:
cpus: '0.5'
memory: 256M
@ -58,3 +58,4 @@ services:
- driver: nvidia
capabilities: ["gpu"]
count: all