diff --git a/tools/invidious/README.md b/tools/invidious/README.md index 2596a794..b654f281 100644 --- a/tools/invidious/README.md +++ b/tools/invidious/README.md @@ -7,9 +7,10 @@ To run: - Create a `.env` file next to `docker-compose.yml` - 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 +INVIDIOUS_PORT=3000 INVIDIOUS_HMAC_KEY=PASSWORD_1 INVIDIOUS_COMPANION_KEY=PASSWORD_2 ``` diff --git a/tools/invidious/docker-compose.yml b/tools/invidious/docker-compose.yml index 3ddeae21..d4d3ab07 100644 --- a/tools/invidious/docker-compose.yml +++ b/tools/invidious/docker-compose.yml @@ -5,7 +5,7 @@ services: image: quay.io/invidious/invidious:latest restart: unless-stopped ports: - - "3000:3000" + - "${INVIDIOUS_PORT}:3000" environment: # Please read the following file for a comprehensive list of all available # configuration options and their associated syntax: