Skip to content

Commit 3851450

Browse files
authored
improve the installation docker guide for beginners (#600)
1 parent 50963e6 commit 3851450

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/installation.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Ensure [Docker Engine](https://docs.docker.com/engine/install) and [Docker Compo
2626

2727
Note: Currently the repository has to be cloned, this is because the `init-invidious-db.sh` file and the `config/sql` directory have to be mounted to the postgres container (See the volumes section in the docker-compose file below). This "problem" will be solved in the future.
2828

29+
Make sure to run the newer Docker Compose V2: https://docs.docker.com/compose/install/linux/. It should already be installed if you can successfully run the command `docker compose` (with a space between the two words).
30+
2931
??? warning "About po_token and visitor_data identities"
3032

3133
po_token known as Proof of Origin Token. This is an attestation token generated by a complex anti robot verification system created by Google named BotGuard/DroidGuard. It is used to confirm that the request is coming from a genuine device.
@@ -45,13 +47,13 @@ Note: Currently the repository has to be cloned, this is because the `init-invid
4547
You will need to copy these two parameters in the third step.
4648
Subsequent usage of this same token will work on the same IP range or even the same ASN. The point is to generate this token on a blocked IP as "unblocked" IP addresses seems to not generate a token valid for passing the checks on a blocked IP.
4749
48-
3. Execute these commands:
50+
2. Execute these commands:
4951
```bash
5052
git clone https://github.com/iv-org/invidious.git
5153
cd invidious
5254
```
5355
54-
4. Edit the docker-compose.yml with this content:
56+
3. Edit the docker-compose.yml with this content:
5557
5658
```docker
5759
version: "3"
@@ -128,6 +130,12 @@ Note: Currently the repository has to be cloned, this is because the `init-invid
128130
129131
Note: This compose is made for a true "production" setup, where Invidious is behind a reverse proxy. If you prefer to directly access Invidious, replace `127.0.0.1:3000:3000` with `3000:3000` under the `ports:` section.
130132
133+
4. Run the docker composition:
134+
135+
```
136+
docker compose up -d
137+
```
138+
131139
132140
### Docker-compose method (development)
133141

0 commit comments

Comments
 (0)