diff --git a/INSTALL.md b/INSTALL.md index a9fa63a..f3efd07 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -97,10 +97,21 @@ RetroIPTVGuide v3.2.0 introduces **official Docker and TrueNAS SCALE App support ```bash git clone https://github.com/thehack904/RetroIPTVGuide.git -cd RetroIPTVGuide +cd RetroIPTVGuide/docker +cp .env.example .env docker compose up -d ``` + +## π³ Quick Docker Run + +The fastest way to launch **RetroIPTVGuide v3.2.0**: + +```bash +docker pull ghcr.io/thehack904/retroiptvguide:latest +docker run -d --name retroiptvguide -p 5000:5000 -e TZ=America/Chicago -e SECRET_KEY=$(openssl rand -hex 32) -v $(pwd)/config:/app/config -v $(pwd)/logs:/app/logs -v $(pwd)/data:/app/data ghcr.io/thehack904/retroiptvguide:latest +``` + --- ## Access diff --git a/README.md b/README.md index 48ee4e3..9422c3f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,30 @@ # RetroIPTVGuide - +
+ + +--- + +## π¦ Image Information + +| Registry | Image | Architectures | Updated | +|-----------|--------|----------------|----------| +| **GitHub Container Registry** | `ghcr.io/thehack904/retroiptvguide:latest` | amd64 / arm64 | Automatically via CI/CD | + +--- RetroIPTVGuide is an IPTV Web Interface inspired by 90s/2000s cable TV guides. It is designed to work with [ErsatzTV](https://ersatztv.org/) [(GitRepo)](https://github.com/ErsatzTV/ErsatzTV/tree/main) but supports any `.m3u`, `.m3u8`, and `.xml` IPTV source. @@ -14,7 +38,6 @@ Now includes **Docker and TrueNAS SCALE deployment support** for easy installati - [License](LICENSE) --- - ## π Containerized Deployment (v3.2.0) ### π³ Docker diff --git a/docker/.env.example b/docker/.env.example new file mode 100644 index 0000000..6513382 --- /dev/null +++ b/docker/.env.example @@ -0,0 +1,18 @@ +# ============================================ +# RetroIPTVGuide Environment Configuration +# ============================================ + +# System Settings +TZ=America/Chicago +FLASK_ENV=production +PYTHONUNBUFFERED=1 + +# Security +SECRET_KEY=change_me_securely + +# Files / Logs +DATABASE_FILE=retroiptv.db +LOG_FILE=retroiptv.log + +# Internal Flask Port +FLASK_PORT=5000 diff --git a/docker/README_DOCKER.md b/docker/README_DOCKER.md new file mode 100644 index 0000000..37b7f6c --- /dev/null +++ b/docker/README_DOCKER.md @@ -0,0 +1,112 @@ +# π³ RetroIPTVGuide Docker Deployment + +This folder contains everything you need to deploy **RetroIPTVGuide** via Docker or Docker Compose. + +--- + +## π Quick Start + +### 1οΈβ£ Clone the repository and navigate into the Docker directory +```bash +git clone https://github.com/thehack904/RetroIPTVGuide.git +cd RetroIPTVGuide/docker +``` + +### 2οΈβ£ Create a `.env` file from the example +```bash +cp .env.example .env +``` +Edit `.env` to set your timezone and secret key. + +### 3οΈβ£ Launch the container +```bash +docker compose up -d +``` + +### 4οΈβ£ Access the web interface +``` +http://