Created
December 7, 2017 02:10
-
-
Save GitSumito/d1e4e78e93a2aff5998fc2f63b9a9bcd to your computer and use it in GitHub Desktop.
docker-compose内の時刻を日本時間に変更する ref: https://qiita.com/S-T/items/af88fc8f79c969dfb5ec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nginx: | |
image: redash/nginx:latest | |
ports: | |
- "443:443" | |
depends_on: | |
- server | |
links: | |
- server:redash | |
logging: | |
driver: "json-file" | |
options: | |
max-size: 3m | |
max-file: "5" | |
restart: always |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nginx: | |
image: redash/nginx:latest | |
#----------------------- | |
# 以下追加 | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
environment: | |
TZ: Asia/Tokyo | |
#----------------------- | |
ports: | |
- "443:443" | |
depends_on: | |
- server | |
links: | |
- server:redash | |
logging: | |
driver: "json-file" | |
options: | |
max-size: 3m | |
max-file: "5" | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment