From b4675dac70574d1d96f0fc4d787901fd4691b7d9 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Sat, 22 Mar 2025 05:24:21 -0700 Subject: [PATCH] style: minor edits to text ordering --- Dockerfile | 4 ++-- README.md | 22 ++++++++++------------ 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index e0c1beb7..94f6af40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,10 +63,10 @@ LABEL org.tvapp2.image.build-version="Version:- ${VERSION} Date:- ${BUILDDATE}" # Set Env Var # # -ENV DIR_BUILD=/usr/src/app -ENV DIR_RUN=/usr/bin/app ENV NODE_VERSION=22.8.0 ENV YARN_VERSION=1.22.22 +ENV DIR_BUILD=/usr/src/app +ENV DIR_RUN=/usr/bin/app ENV URL_REPO="https://git.binaryninja.net/binaryninja/" ENV WEB_IP="0.0.0.0" ENV WEB_PORT=4124 diff --git a/README.md b/README.md index 71d58947..ecfea4de 100644 --- a/README.md +++ b/README.md @@ -213,6 +213,8 @@ services: - ./app:/usr/bin/app environment: - TZ=Etc/UTC + - WEB_IP=0.0.0.0 + - WEB_PORT=4124 - DIR_RUN=/usr/bin/app - DIR_RUN=/usr/bin/app - STREAM_QUALITY=hd @@ -341,16 +343,12 @@ GRAPH_ALPINE --> obj_step20 --> obj_step21 --> obj_step22 --> obj_step23 --> obj
-When building your TVApp2 images with the commands provided below, ensure you create two sets of tags: +This repository offers two types of docker image; `stable` and `development`. You may create both or just one. We also offer two different architectures which are `amd64` and `arm64`. These architectures are tied to the same release. -| Architecture | Dockerfile | Tags | -| -------------------- | -------------------- | --------------------------------------------------------------- | -| `amd64` | `Dockerfile` | `tvapp2:latest`
`tvapp2:1.0.0`
`tvapp2:1.0.0-amd64` | -| `arm64` | `Dockerfile` | `tvapp2:latest`
`tvapp2:1.0.0-arm64` | - -
- -The `amd64` arch gets a few extra tags because it should be the default image people clone. +| Build | Tags | +| ------------------------- | ----------------------------------------------------------------------------- | +| `Stable` | `tvapp2:latest`
`tvapp2:1.0.0`
`tvapp2:1.0`
`tvapp2:1` | +| `Development` | `tvapp2:development` |
@@ -660,8 +658,8 @@ The run command above has several variables you must specify: | Variable | Description | | --- | --- | | `--VERSION=1.X.X` | The version to assign to the docker image | -| `--BUILDDATE=20250220` | The date to assign to the docker image.
Date format: `YEAR / MONTH / DAY` | - +| `--BUILDDATE=20250220` | The date to assign to the docker image.
Date format: `YYYYMMDD` | +| `--ARCH=amd64` | Architecture for image
Options: `amd64`, `arm64` |
@@ -765,7 +763,7 @@ This docker container contains the following env variables: | `STREAM_QUALITY` | `hd` | Stream quality
Can be either `hd` or `sd` | | `DIR_BUILD` | `/usr/src/app` | Path inside container where TVApp2 will be built.

⚠️ This should not be used unless you know what you're doing | | `DIR_RUN` | `/usr/bin/app` | Path inside container where TVApp2 will be placed after it is built

⚠️ This should not be used unless you know what you're doing | -| `LOG_LEVEL` | `4` | Level of logging to display in console
`6` Trace & below
`5` Debug & below
`4` Info & below
`3` Notice & below
`2` Warn & below
`1` Error only | +| `LOG_LEVEL` | `4` | Level of logging to display in console
`6` Trace & below
`5` Debug & below
`4` Info & below
`3` Notice & below
`2` Warn & below
`1` Error only |