You can download the latest binary from release page and install it manually.
You can use the script to install and run SyncTV.
sudo -v ; curl -fsSL https://raw.gitmirror.com/synctv-org/synctv/main/script/install.sh | sudo bash -s -- -v latest
After installing with Script
, you can use the following commands
systemctl start synctv.service # start
systemctl stop synctv.service # stop
systemctl restart synctv.service # restart
systemctl enable synctv.service # enable auto start
systemctl disable synctv.service # disable auto start
You can also use docker to install and run SyncTV.
docker run -d --name synctv -p 8080:8080 synctvorg/synctv
More information about docker image, please see here.
Latest example file please refer to docker-compose.yml
version: '3.3'
services:
synctv:
image: 'synctvorg/synctv:latest'
container_name: synctv
restart: unless-stopped
ports:
- '8080:8080/tcp'
- '8080:8080/udp'
volumes:
- /opt/synctv:/root/.synctv
environment:
- PUID=0
- PGID=0
- UMASK=022
- TZ=Asia/Shanghai
helm repo add synctv https://docs.synctv.wiki/helm-charts
helm search repo synctv
helm pull synctv/synctv
helm upgrade --install synctv synctv/synctv \
-n synctv --create-namespace \
--set ingress.enabled=true \
--set ingress.className=nginx \
--set 'ingress.hosts[0].host=<yourdomain.com>' \
--set 'ingress.hosts[0].secretName=<yourdomain-secretName>'
helm upgrade --install synctv synctv/synctv \
-n synctv \
--reuse-values
More Helm Values:helm-values
helm uninstall -n synctv synctv
--data-dir string data dir (default "/Users/zijiren/.synctv")
--dev start with dev mode (default true)
--env-no-prefix env no SYNCTV_ prefix
--github-base-url string github api base url (default "https://api.github.com/")
-h, --help help for synctv
--log-std log to std (default true)
--skip-config skip config
--skip-env skip env
admin # admin
conf # init or check
help # Help about any command
root # root
self-update # self-update
server # Start synctv-server
setting # setting
user # user
version # Print the version number of Sync TV Server
synctv server
to start the server
synctv server
# or
synctv server --data-dir ./
Every time it starts, it will check for users with root permissions. If none are found, it will initialize a
root
user with the passwordroot
. Please change the username and password promptly.The user registration function requires the use of any
OAuth2
service, such asGithub
, etc. For specific configuration, please refer to documentation.