Browse Source
Merge pull request #47 from moonfeeling/main
修改docker-compose.yml:使容器内时间和时区设置与宿主机保持一致
topic
yedf2
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
docker-compose.yml
|
|
@ -8,6 +8,8 @@ services: |
|
|
- '8080:8080' |
|
|
- '8080:8080' |
|
|
volumes: |
|
|
volumes: |
|
|
- .:/app/work |
|
|
- .:/app/work |
|
|
|
|
|
- /etc/localtime:/etc/localtime:ro |
|
|
|
|
|
- /etc/timezone:/etc/timezone:ro |
|
|
command: ['/app/dtm/main', 'dev'] |
|
|
command: ['/app/dtm/main', 'dev'] |
|
|
working_dir: /app/work |
|
|
working_dir: /app/work |
|
|
extra_hosts: |
|
|
extra_hosts: |
|
|
|