You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
587 B
Markdown
43 lines
587 B
Markdown
6 months ago
|
# SYNCTV 安装
|
||
|
|
||
|
## 配置文件
|
||
|
|
||
|
创建路径
|
||
|
|
||
|
```shell
|
||
|
mkdir -p /usr/local/synctv/data
|
||
|
```
|
||
|
|
||
|
## COMPOSE 文件
|
||
|
|
||
|
```shell
|
||
|
cat > /usr/local/synctv/docker-compose.yml <<'EOF'
|
||
|
version: '3'
|
||
|
services:
|
||
|
synctv:
|
||
|
image: 'synctvorg/synctv:latest'
|
||
|
container_name: synctv
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- 9005:8080
|
||
|
volumes:
|
||
|
- ./data:/root/.synctv
|
||
|
environment:
|
||
|
- PUID=0
|
||
|
- PGID=0
|
||
|
- UMASK=022
|
||
|
- TZ=Asia/Shanghai
|
||
|
EOF
|
||
|
```
|
||
|
|
||
|
## 启动
|
||
|
|
||
|
```shell
|
||
|
cd /usr/local/synctv/ && docker-compose up -d
|
||
|
```
|
||
|
|
||
|
## 默认用户名密码
|
||
|
```shell
|
||
|
root/root
|
||
|
```
|