Skip to content

Commit 6e4e412

Browse files
committed
更新docker-compose文件, 支持cfadmin快速启动体验.
1 parent 0d42563 commit 6e4e412

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker/docker-compose-with-cfadmin.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ services:
66
restart: always
77
volumes:
88
- ./script/:/app/script/
9+
# 如需设置时区, 建议请将localtime提取到home目录下再挂在使用
10+
# - /etc/localtime:/etc/localtime
911
ports:
1012
- 8080:8080
1113
depends_on:
@@ -23,6 +25,8 @@ services:
2325
- MYSQL_DATABASE=cfadmin
2426
volumes:
2527
- ./db/:/docker-entrypoint-initdb.d/
28+
# 如需设置时区, 建议请将localtime提取到home目录下再挂在使用
29+
# - /etc/localtime:/etc/localtime
2630
ports:
2731
- 3306:3306
2832
networks:

0 commit comments

Comments
 (0)