mirror of
https://github.com/tiyn/wiki.git
synced 2025-10-10 18:01:22 +02:00
synctube: added synctube as w2g alternative
This commit is contained in:
39
wiki/docker-images/rblsb_-_synctube.md
Normal file
39
wiki/docker-images/rblsb_-_synctube.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# rblsb - 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 for building process
|
||||
|
||||
First of all create a folder for your `rebuild.sh`.
|
||||
After that clone synctube from github into a folder within the just created folder.
|
||||
Then build the image inside the git folder with `docker build -t synctube .`.
|
||||
|
||||
## Volumes
|
||||
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| 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
|
||||
|
||||
```shell
|
||||
#!/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
|
||||
```
|
Reference in New Issue
Block a user