services:
  heart-listener:
    working_dir: /app
    image: python:3.14-slim
    container_name: uptime-heart-listener
    restart: unless-stopped
    env_file:
      - .env
    command: >
      bash -c "pip install -r requirements.txt && python listen.py"
    volumes:
      - ./:/app
    network_mode: host