[skip ci] configurable invidious port in tools
This commit is contained in:
1 parent
15ba5f1704
commit
974ff39c09
2 files changed
+3
-2
No files matched your search
@@ -7,9 +7,10 @@ To run:
|
|||||||
|
|
||||||
- Create a `.env` file next to `docker-compose.yml`
|
- Create a `.env` file next to `docker-compose.yml`
|
||||||
- Generate two random passwords of 16 characters (e.g. using command `pwgen 16 1`)
|
- Generate two random passwords of 16 characters (e.g. using command `pwgen 16 1`)
|
||||||
- Add the two variables to your `.env` file
|
- Add the two variables to your `.env` file, in addition to the port, like so:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
INVIDIOUS_PORT=3000
|
||||||
INVIDIOUS_HMAC_KEY=PASSWORD_1
|
INVIDIOUS_HMAC_KEY=PASSWORD_1
|
||||||
INVIDIOUS_COMPANION_KEY=PASSWORD_2
|
INVIDIOUS_COMPANION_KEY=PASSWORD_2
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ services:
|
|||||||
image: quay.io/invidious/invidious:latest
|
image: quay.io/invidious/invidious:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "${INVIDIOUS_PORT}:3000"
|
||||||
environment:
|
environment:
|
||||||
# Please read the following file for a comprehensive list of all available
|
# Please read the following file for a comprehensive list of all available
|
||||||
# configuration options and their associated syntax:
|
# configuration options and their associated syntax:
|
||||||
|
|||||||
Reference in new issue
Block a user