Keep Docker branch documentation focused
This commit is contained in:
@@ -52,26 +52,6 @@ docker compose down
|
||||
To use different host folders, edit the two `volumes` entries in
|
||||
`compose.yaml`. Do not remove `:ro` from the source mount.
|
||||
|
||||
## LXC
|
||||
|
||||
An unprivileged LXC works without Docker. Install Python and FFmpeg inside the
|
||||
container, then bind-mount the host folders into the LXC and run:
|
||||
|
||||
```sh
|
||||
python3 server.py --host 0.0.0.0 --source /mnt/c41-media --root /mnt/c41-media-mp4
|
||||
```
|
||||
|
||||
The LXC user needs read permission on the source mount and write permission on
|
||||
the encoded mount. Run the player as a system service or with a process
|
||||
supervisor so it restarts after reboot. If the LXC should be reachable from
|
||||
other machines, bind the port explicitly:
|
||||
|
||||
```sh
|
||||
python3 server.py --host 0.0.0.0 --source /mnt/c41-media --root /mnt/c41-media-mp4 --port 8765
|
||||
```
|
||||
|
||||
Then open `http://LXC-IP:8765`. No privileged container features are required.
|
||||
|
||||
The default source archive is:
|
||||
|
||||
`/home/human/Videos/Yassine Salon/C41/media`
|
||||
|
||||
Reference in New Issue
Block a user