docker-compose.yml 486 B

12345678910111213
  1. version: "3.7"
  2. services:
  3. token_refresh:
  4. image: php-zts-debug:7.3.18
  5. volumes:
  6. - ../../../../:/var/www/html
  7. - ../conf/etc/localtime:/etc/localtime:ro
  8. - ../conf/php/php-debug.ini:/usr/local/etc/php/php.ini
  9. - /Volumes/Transcend/upload:/var/www/html/data/upload
  10. - /Users/stanley-king/work/PHPProject/shoplog:/var/www/html/data/log
  11. container_name: "panda-token-refresh"
  12. command: [php,"/var/www/html/crontab/index.php",'vendor','token_refresh']