mirror of https://github.com/tiyn/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
# rblsb - synctube
|
|
|
|
This is a [Docker](/wiki/docker.md) container for the synchronized video
|
|
platform synctube.
|
|
The official container and documentation was made by
|
|
[rblsb](https://github.com/rblsb/synctube).
|
|
There is no official pre-build on docker-hub.
|
|
|
|
## Set-up
|
|
|
|
First of all create a folder for your `rebuild.sh`.
|
|
After that clone synctube from [GitHub](https://github.com/rblsb/synctube) into
|
|
a folder within the just created folder.
|
|
Then build the image inside the git folder with `docker build -t synctube .`.
|
|
Set the variables, volumes and ports according and run the `rebuild.sh`.
|
|
|
|
|
|
## Volumes
|
|
|
|
Set the following volumes with the -v tag.
|
|
|
|
| Outside mount/volume name | Container mount | Description |
|
|
| ------------------------- | ------------------- | ------------------- |
|
|
| `synctube` | `/usr/src/app/user` | Configuration files |
|
|
|
|
## Ports
|
|
|
|
Set the following ports with the -p tag.
|
|
|
|
| Container Port | Recommended outside port | Protocol | Description |
|
|
| -------------- | ------------------------ | -------- | ----------- |
|
|
| `4200` | `4200` | TCP | WebUI |
|
|
|
|
## rebuild.sh
|
|
|
|
```sh
|
|
#!/bin/sh
|
|
docker stop synctube
|
|
docker rm synctube
|
|
docker run --name synctube \
|
|
--restart unless-stopped \
|
|
-p 4200:4200 \
|
|
-v synctube:/usr/src/app/user \
|
|
-d synctube
|
|
```
|