Skip to content

Commit d5778f9

Browse files
authored
docs: 添加部署时指定时区的方法说明 (#337)
1 parent d87d990 commit d5778f9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/guide/install/docker.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,14 @@ services:
7272
- UMASK=022
7373
restart: unless-stopped
7474
```
75+
After the service runs, the default time zone for the container is UTC time zone. If you want to specify the time zone for the container to run, you can achieve this by passing this variable:`-e "TZ=Asia/Shanghai"`。
7576

7677
### **Offline download with aria2**
7778

7879
If you want to use aria2 to offline download, we recommend you to use this [image](https://hub.docker.com/r/xhofe/alist-aria2), which carries a pre-installed aria2.
7980

8081
### **Dev version**
81-
Just for amd64/arm64. Not recommended, this may can't work properly.
82+
Just for amd64/arm64. Not recommended, this may can't work properly.
8283

8384
#### **docker-cli**
8485

docs/zh/guide/install/docker.md

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ services:
6565
restart: unless-stopped
6666
```
6767
68+
服务运行之后,容器默认的时区为UTC时区,如果你想指定容器运行的时区,则可以通过传递此变量来实现:`-e "TZ=Asia/Shanghai"`。
69+
6870
### **使用 aria2 离线下载**
6971

7072
如果你想使用aria2离线下载,我们推荐你使用这个[image](https://hub.docker.com/r/xhofe/alist-aria2),它预装了aria2。

0 commit comments

Comments
 (0)