fix timezone

This commit is contained in:
pycook 2019-11-11 23:11:12 +08:00
parent 89ffec35e8
commit f91c82b241
2 changed files with 6 additions and 3 deletions

View File

@ -32,6 +32,8 @@ services:
dockerfile: api/Dockerfile dockerfile: api/Dockerfile
image: cmdb-api:0.1 image: cmdb-api:0.1
container_name: cmdb-api container_name: cmdb-api
environment:
TZ: Asia/Shanghai
command: command:
- /bin/bash - /bin/bash
- -c - -c
@ -56,6 +58,7 @@ services:
depends_on: depends_on:
- cmdb-api - cmdb-api
environment: environment:
TZ: Asia/Shanghai
CMDB_API_HOST: cmdb-api:5000 CMDB_API_HOST: cmdb-api:5000
NGINX_PORT: 80 NGINX_PORT: 80
volumes: volumes:

0
docs/Dockerfile Normal file
View File