Skip to content

Commit 374ea79

Browse files
committed
update readme
1 parent e3e9b91 commit 374ea79

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,8 @@ Redis连接信息如下:
315315
### 9.2 Docker使用cron定时任务
316316
[Docker使用cron定时任务](https://www.awaimai.com/2615.html)
317317
318-
### 9.3 Docker容器同步时间
319-
如果不需要跟宿主机同步时间,删除docker-compose.yml中的即可
320-
321-
```
322-
- ${LOCALTIME_DIR}:/etc/localtime:ro
323-
- ${TIMEZONE_DIR}:/etc/timezone:ro
324-
```
318+
### 9.3 Docker容器时间
319+
容器时间在.env文件中配置`TZ`变量,所有支持的时区请看[时区列表·维基百科](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)或者[PHP所支持的时区列表·PHP官网](https://www.php.net/manual/zh/timezones.php)。
325320
326321
## License
327322
MIT

0 commit comments

Comments
 (0)