修改docker-compose.yml文件添加environment环境变量

version: '3.8'
services:
  xx:
    image: xxx
    container_name: xx
    restart: always
    ports:
      - xx:xx
    volumes:
      - ./xx:/app/xx
    environment:
      - TZ=Asia/Shanghai