feat: Update README and Docker Compose for Filebrowser integration
This commit is contained in:
13
README.md
13
README.md
@@ -6,7 +6,7 @@ This repository contains the configuration for my personal homelab stack, includ
|
|||||||
|---------|-------------|------------|
|
|---------|-------------|------------|
|
||||||
| **Vaultwarden** | Self-hosted password manager (Bitwarden-compatible) | `https://vault.example.com` |
|
| **Vaultwarden** | Self-hosted password manager (Bitwarden-compatible) | `https://vault.example.com` |
|
||||||
| **2FAuth** | Self-hosted two-factor authentication manager | `https://auth.example.com` |
|
| **2FAuth** | Self-hosted two-factor authentication manager | `https://auth.example.com` |
|
||||||
| **Nextcloud** | Self-hosted file hosting service | `https://storage.example.com` |
|
| **Filebrowser** | Self-hosted file hosting service | `https://storage.example.com` |
|
||||||
| **Caddy** | Reverse proxy with automatic HTTPS via DuckDNS (DNS-01) | *No direct UI* |
|
| **Caddy** | Reverse proxy with automatic HTTPS via DuckDNS (DNS-01) | *No direct UI* |
|
||||||
| **Portainer** | Makes Docker life 100x easier (visual container manager) | `https://<SERVER_IP>:9443` |
|
| **Portainer** | Makes Docker life 100x easier (visual container manager) | `https://<SERVER_IP>:9443` |
|
||||||
| **Uptime Kuma** | Monitors homelab/domain uptime | `http://<SERVER_IP>:3001` |
|
| **Uptime Kuma** | Monitors homelab/domain uptime | `http://<SERVER_IP>:3001` |
|
||||||
@@ -34,11 +34,10 @@ Before deploying, you **must** replace all placeholder values in the config file
|
|||||||
|
|
||||||
- `https://vault.example.com` and `vault.example.com` → your Vaultwarden domain
|
- `https://vault.example.com` and `vault.example.com` → your Vaultwarden domain
|
||||||
- `https://auth.example.com` and `auth.example.com` → your 2FAuth domain
|
- `https://auth.example.com` and `auth.example.com` → your 2FAuth domain
|
||||||
- `https://storage.example.com` and `storage.example.com` → your Nextcloud domain
|
- `https://storage.example.com` and `storage.example.com` → your Filebrowser domain
|
||||||
- `admin@example.com` → your email address (used by Caddy / Let’s Encrypt and 2FAuth)
|
- `admin@example.com` → your email address (used by Caddy / Let’s Encrypt and 2FAuth)
|
||||||
- `TOKEN` → your DuckDNS token
|
- `TOKEN` → your DuckDNS token
|
||||||
- `SomeRandomStringOf32CharsExactly` → a **32-character** random string for `APP_KEY`
|
- `SomeRandomStringOf32CharsExactly` → a **32-character** random string for `APP_KEY`
|
||||||
- `NEXTCLOUD_ADMIN_USER` and `NEXTCLOUD_ADMIN_PASSWORD` → your Nextcloud admin credentials
|
|
||||||
|
|
||||||
## DuckDNS Dynamic DNS Updater
|
## DuckDNS Dynamic DNS Updater
|
||||||
|
|
||||||
@@ -75,7 +74,7 @@ The **homelab/** folder contains:
|
|||||||
- `Caddyfile` – defines routing for:
|
- `Caddyfile` – defines routing for:
|
||||||
- `https://<vault-domain>` → Vaultwarden
|
- `https://<vault-domain>` → Vaultwarden
|
||||||
- `https://<auth-domain>` → 2FAuth
|
- `https://<auth-domain>` → 2FAuth
|
||||||
- `https://<storage-domain>` → Nextcloud
|
- `https://<storage-domain>` → Filebrowser
|
||||||
|
|
||||||
### Start the stack
|
### Start the stack
|
||||||
|
|
||||||
@@ -83,7 +82,6 @@ The **homelab/** folder contains:
|
|||||||
cd homelab
|
cd homelab
|
||||||
mkdir -p services/vaultwarden \
|
mkdir -p services/vaultwarden \
|
||||||
services/2fauth \
|
services/2fauth \
|
||||||
services/nextcloud \
|
|
||||||
services/uptimekuma \
|
services/uptimekuma \
|
||||||
services/portainer \
|
services/portainer \
|
||||||
services/caddy/config \
|
services/caddy/config \
|
||||||
@@ -94,8 +92,7 @@ mkdir -p services/vaultwarden \
|
|||||||
services/filebrowser/srv \
|
services/filebrowser/srv \
|
||||||
services/filebrowser/database \
|
services/filebrowser/database \
|
||||||
services/filebrowser/config
|
services/filebrowser/config
|
||||||
docker compose up -d
|
ex```
|
||||||
```
|
|
||||||
|
|
||||||
### Stop the stack
|
### Stop the stack
|
||||||
|
|
||||||
@@ -138,7 +135,7 @@ Then restart the containers:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd homelab
|
cd homelab
|
||||||
docker compose restart vaultwarden 2fauth nextcloud portainer dozzle uptime-kuma netdata
|
docker compose restart vaultwarden 2fauth filebrowser portainer dozzle uptime-kuma netdata
|
||||||
```
|
```
|
||||||
|
|
||||||
## Updating
|
## Updating
|
||||||
|
|||||||
@@ -44,10 +44,7 @@ services:
|
|||||||
- ./services/filebrowser/srv:/srv
|
- ./services/filebrowser/srv:/srv
|
||||||
- ./services/filebrowser/database:/database
|
- ./services/filebrowser/database:/database
|
||||||
- ./services/filebrowser/config:/config
|
- ./services/filebrowser/config:/config
|
||||||
environment:
|
user: "1000:1000"
|
||||||
- PUID=$(id -u)
|
|
||||||
- PGID=$(id -g)
|
|
||||||
|
|
||||||
|
|
||||||
# ==========================
|
# ==========================
|
||||||
# Caddy (Reverse proxy)
|
# Caddy (Reverse proxy)
|
||||||
|
|||||||
Reference in New Issue
Block a user