1
0
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:
TiynGER
2021-05-06 15:41:19 +02:00
parent d26f015a1d
commit 770b31a513
3 changed files with 50 additions and 0 deletions

View 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
```