name: tidb-ai-verification

services:
  verification-service:
    image: miniantdev/verify:branch-main
    container_name: verify.tidb.ai
    restart: always
    ports:
      - "8001:80"
    env_file:
      - .env
    logging:
      driver: json-file
      options:
        max-size: "50m"
        max-file: "6"

  crontab-branch-recycle:
    image: miniantdev/verify:branch-main
    container_name: branch-recycle.tidb.ai
    restart: always
    env_file:
      - .env
    command: ["python", "tcs_branch_recycle.py"]
    working_dir: /code
