git clone https://github.com/ftomer/amazonmonitor.git
cd amazonmonitorPlace the provided Docker files in your project root:
Dockerfiledocker-compose.yml.env(template)setup-pi.sh
nano .envnano data/config.json# Make setup script executable
chmod +x setup-pi.sh
# Build the Docker image
docker-compose build
# Run the container
docker-compose up -d
# View logs
docker-compose logs -f amazon-price-monitorThe Docker container will run your application using:
python app/main.pyMake sure your app/main.py file:
- Contains the main application logic
- Handles configuration loading
- Implements the price monitoring loop
- Manages email notifications