feat: initial infra repo
- docker-services: 14 generic compose templates (portainer, npm, vaultwarden, gitea, jotty, nextcloud-aio, rustdesk, audiobookshelf, calibre-web, plex, erugo, jswiki, speedtest, watchtower) - install-scripts: bash scripts for Ubuntu server bootstrap, docker, portainer, npm, backup, restore - ansible: 4 playbooks (bootstrap, deploy-services, update-services, security-hardening) + roles skeleton - hermes-install: Hermes CLI setup on macOS - macos-setup: Brewfile + osx-defaults + fish-config - home-nas-tools: metadata index for NAS projects (no binaries) - docs: architecture, security, contributing - README, LICENSE (MIT), .gitignore
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Plex – proměnné
|
||||
TZ=Europe/Prague
|
||||
PUID=1000
|
||||
PGID=1000
|
||||
|
||||
# HW akcelerace (vyber podle sveho GPU)
|
||||
# NVIDIA_VISIBLE_DEVICES=all
|
||||
# INTEL_VISIBLE_DEVICES=true
|
||||
@@ -0,0 +1,58 @@
|
||||
# Plex – media server
|
||||
|
||||
> Stream filmů, seriálů, hudby, fotek. HW transkódování.
|
||||
|
||||
## 📋 Přehled
|
||||
|
||||
- **Image:** `linuxserver/plex:latest`
|
||||
- **Porty:** `32400` (web), `1900` (DLNA), `5353` (Bonjour), `8324` (plex.tv)
|
||||
- **User:** `1000:1000`
|
||||
- **Network:** `host` (doporučeno) – kvůli HW transkódování
|
||||
|
||||
## 🚀 Instalace
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pak `http://<server>:32400/web` – setup wizard.
|
||||
|
||||
## 🎯 Funkce
|
||||
|
||||
- **Hardware transkódování** – Intel/AMD/NVIDIA GPU akcelerace
|
||||
- **Plex Pass** – Live TV, DVR, HW encoding (placené)
|
||||
- **Mobile app** – iOS/Android/Apple TV
|
||||
- **Plex.tv** – vzdálený přístup
|
||||
- **Share** – s přáteli
|
||||
|
||||
## 📁 Volumes
|
||||
|
||||
| Mount | Účel |
|
||||
|---|---|
|
||||
| `./data:/config` | Plex konfigurace, DB |
|
||||
| `./media:/media` | Tvoje knihovna (filmy, seriály, hudba) |
|
||||
|
||||
## 🔧 HW transkódování
|
||||
|
||||
V `.env` nastavit:
|
||||
- `NVIDIA_VISIBLE_DEVICES=all` – pro NVIDIA
|
||||
- `INTEL_VISIBLE_DEVICES=true` – pro Intel QuickSync
|
||||
|
||||
## 🔐 Bezpečnost
|
||||
|
||||
- **HTTPS** – terminuj v NPM
|
||||
- **Plex.tv účet** – nepoužívej guest účet
|
||||
- **Network discovery** – vypni pokud nepotřebuješ
|
||||
|
||||
## 🔄 Aktualizace
|
||||
|
||||
```bash
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
## 📚 Dokumentace
|
||||
|
||||
- [Plex Support](https://support.plex.tv/)
|
||||
- [Plex Media Server](https://www.plex.tv/media-server-downloads/)
|
||||
@@ -0,0 +1,22 @@
|
||||
# Plex Media Server
|
||||
|
||||
services:
|
||||
plex:
|
||||
image: lscr.io/linuxserver/plex:latest
|
||||
container_name: plex
|
||||
restart: unless-stopped
|
||||
network_mode: host # Pro HW transkódování a DLNA
|
||||
volumes:
|
||||
- ./data:/config
|
||||
- ./media:/media
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Prague
|
||||
- VERSION=docker
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
Reference in New Issue
Block a user