Skip to content

Commit 10cb261

Browse files
author
yaoyang
committed
开发环境添加时区设置
1 parent 59ecc3b commit 10cb261

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

project/tool/start_dev_server.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
ROOT_DIR="$(cd "$(dirname $0)" && pwd)"/../../
3+
ROOT_DIR="$(cd "$(dirname $0)" && pwd)"/../..
44

55
DEP_SERVICE_FILE=$ROOT_DIR/dep_service_list
66
if [ ! -f $DEP_SERVICE_FILE ]
@@ -53,4 +53,5 @@ sudo docker run --rm -ti -p 80:80 --name distributed_mvc_frame \
5353
$LINK $DEP_VOLUMN \
5454
-v $ROOT_DIR/:/var/www/distributed_mvc_frame \
5555
-v $ROOT_DIR/project/config/development/nginx/distributed_mvc_frame.conf:/etc/nginx/sites-enabled/default \
56+
-e 'TIMEZONE=Asia/Shanghai' \
5657
kikiyao/debian_php_dev_env start

0 commit comments

Comments
 (0)