Skip to content

Commit a0b0937

Browse files
committed
modify add /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro volumes
1 parent 502e8a7 commit a0b0937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ services:
88
- "9000:9000"
99
# restart: always
1010
volumes:
11+
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro
1112
- ./www:/var/www
1213
- ./php-fpm/php.ini:/usr/local/etc/php/php.ini
1314
- ./php-fpm/opcache.ini:/usr/local/etc/php/conf.d/opcache.ini
1415
- ./php-fpm/php-fpm.conf:/usr/local/etc/php-fpm.conf
1516
- ./php-fpm/www.conf:/usr/local/etc/php-fpm.d/www.conf
16-
# - /etc/localtime:/etc/localtime
1717
# networks:
1818
# - custom
1919

0 commit comments

Comments
 (0)