mirror of
https://github.com/iv-org/youtube-trusted-session-generator.git
synced 2025-01-15 16:12:21 +01:00
add message about chromium sandboxing
This commit is contained in:
parent
e5b5b6e150
commit
8e96931d26
3 changed files with 6 additions and 2 deletions
|
@ -12,7 +12,7 @@ RUN apk add --no-cache \
|
|||
chromium \
|
||||
chromium-chromedriver
|
||||
|
||||
WORKDIR /usr/app/src
|
||||
WORKDIR /app
|
||||
COPY index.py requirements.txt ./
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
|
|
@ -36,3 +36,7 @@ These identity tokens (po_token and visitor_data) generated using this tool will
|
|||
visitor_data: XXX
|
||||
```
|
||||
3. Restart Invidious.
|
||||
|
||||
## Why running as root for Docker?
|
||||
|
||||
In "headless: false", Chromium does not support sanboxing when it is not ran by root user.
|
|
@ -10,5 +10,5 @@ sleep 2
|
|||
|
||||
echo "[INFO] launching chromium instance"
|
||||
|
||||
# Run python script on display 0
|
||||
# Run python script on display 99
|
||||
DISPLAY=:99 python index.py
|
||||
|
|
Loading…
Reference in a new issue