Compare commits
No commits in common. "c18c745400c27db932af9fe7801643ebdc6b283d" and "92332782472ffa9a584eaa2211b146c670616158" have entirely different histories.
c18c745400
...
9233278247
51
README.md
51
README.md
@ -1,35 +1,36 @@
|
|||||||
# Self-Hosted Services
|
# 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:
|
### Services Included:
|
||||||
|
|
||||||
* **Traefik:** Reverse proxy and load balancer with automatic HTTPS, now also handling SSH entry points and `bouvais.lu` redirection.
|
- **Traefik:** Reverse proxy and load balancer with automatic HTTPS, now also handling SSH entry points and `bouvais.lu` redirection.
|
||||||
* **Monitoring Stack:**
|
- **Prometheus:** Monitoring system.
|
||||||
* **Prometheus:** Monitoring system.
|
- **Grafana:** Data visualization and dashboarding for Prometheus.
|
||||||
* **Grafana:** Data visualization and dashboarding for Prometheus.
|
- **cAdvisor:** Container resource usage and performance analysis.
|
||||||
* **cAdvisor:** Container resource usage and performance analysis.
|
- **Node Exporter:** Exposes hardware and OS metrics for Prometheus.
|
||||||
* **Node Exporter:** Exposes hardware and OS metrics for Prometheus.
|
- **Nvidia GPU Exporter:** Exposes NVIDIA GPU metrics for Prometheus.
|
||||||
* **Nvidia GPU Exporter:** Exposes NVIDIA GPU metrics for Prometheus.
|
- **Fail2Ban:** Intrusion prevention for various services, specifically configured to monitor Docker logs.
|
||||||
* **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.
|
||||||
* **Vaultwarden:** Unofficial Bitwarden server implementation, with an added secure admin interface.
|
- **Kopia:** Fast, secure, and incremental backups, with a web UI.
|
||||||
* **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 (replaces Memos).
|
||||||
* **Siyuan:** A local-first personal knowledge management system.
|
- **Jellyfin:** Free software media system.
|
||||||
* **Jellyfin:** Free software media system.
|
- **Filebrowser:** Web interface to browse and manage files.
|
||||||
* **Filebrowser:** Web interface to browse and manage files.
|
- **Gitea:** Lightweight Git service (this repository is hosted on it!), also serving documentation via MkDocs.
|
||||||
* **LibreOffice Online:** A web-based version of the LibreOffice suite for in-browser document editing.
|
- **Gitea Runner:** A runner for Gitea actions.
|
||||||
* **Gitea & Gitea Runner:** A lightweight Git service and a runner for Gitea actions.
|
- **MkDocs ZipponDB:** Serves documentation generated by MkDocs.
|
||||||
* **MkDocs:** Serves a static documentation site generated by MkDocs.
|
- **Actual Budget:** Local-first personal finance app.
|
||||||
* **Docker Registry & UI:** A private Docker registry to store custom images, complete with a web interface for management.
|
- **MinIO:** High performance, S3 compatible object storage.
|
||||||
* **Actual Budget:** Local-first personal finance app.
|
- **Open WebUI:** A user-friendly interface for interacting with large language models.
|
||||||
* **MinIO:** High performance, S3 compatible object storage. For DVC.
|
- **Ollama:** A framework for running large language models locally, with GPU support.
|
||||||
* **Open WebUI & Pipelines:** A user-friendly interface for interacting with large language models, supported by a backend pipeline service.
|
- **Personal Website (website-pro):** A custom-built professional website.
|
||||||
* **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
|
### 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.
|
||||||
|
1
apps.yml
1
apps.yml
@ -106,7 +106,6 @@ services:
|
|||||||
- 3001:3001
|
- 3001:3001
|
||||||
volumes:
|
volumes:
|
||||||
- ./hdd0/libreoffice:/config
|
- ./hdd0/libreoffice:/config
|
||||||
- ./hdd0/my_files/:/data
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
|
@ -45,7 +45,7 @@ services:
|
|||||||
- ./config/users.cred:/users.cred
|
- ./config/users.cred:/users.cred
|
||||||
- ./hdd0/logs:/logs
|
- ./hdd0/logs:/logs
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true"
|
||||||
# Dashboard Router
|
# Dashboard Router
|
||||||
- traefik.http.routers.dashboard.rule=Host(`traefik.bouvais.lu`)
|
- traefik.http.routers.dashboard.rule=Host(`traefik.bouvais.lu`)
|
||||||
- traefik.http.routers.dashboard.entrypoints=websecure
|
- traefik.http.routers.dashboard.entrypoints=websecure
|
||||||
@ -148,7 +148,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./hdd0/minio_data:/data
|
- ./hdd0/minio_data:/data
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true"
|
||||||
# Router and service for the MinIO API
|
# Router and service for the MinIO API
|
||||||
- traefik.http.routers.minio-api.rule=Host(`minio-api.bouvais.lu`)
|
- traefik.http.routers.minio-api.rule=Host(`minio-api.bouvais.lu`)
|
||||||
- traefik.http.routers.minio-api.entrypoints=websecure
|
- traefik.http.routers.minio-api.entrypoints=websecure
|
||||||
|
@ -39,7 +39,7 @@ services:
|
|||||||
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_MY_PASSWORD}
|
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_MY_PASSWORD}
|
||||||
- GF_SERVER_ROOT_URL=https://grafana.bouvais.lu
|
- GF_SERVER_ROOT_URL=https://grafana.bouvais.lu
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true"
|
||||||
- traefik.http.routers.grafana.rule=Host(`grafana.bouvais.lu`)
|
- traefik.http.routers.grafana.rule=Host(`grafana.bouvais.lu`)
|
||||||
- traefik.http.routers.grafana.entrypoints=websecure
|
- traefik.http.routers.grafana.entrypoints=websecure
|
||||||
- traefik.http.routers.grafana.tls.certresolver=myresolver
|
- traefik.http.routers.grafana.tls.certresolver=myresolver
|
||||||
|
5
vms.yml
5
vms.yml
@ -21,8 +21,8 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '2.0'
|
cpus: '1.0'
|
||||||
memory: 1G
|
memory: 512M
|
||||||
reservations:
|
reservations:
|
||||||
cpus: '0.5'
|
cpus: '0.5'
|
||||||
memory: 256M
|
memory: 256M
|
||||||
@ -58,4 +58,3 @@ services:
|
|||||||
- driver: nvidia
|
- driver: nvidia
|
||||||
capabilities: ["gpu"]
|
capabilities: ["gpu"]
|
||||||
count: all
|
count: all
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user