Aggregated Product Price Monitor for Graphic Cards
Nice graphic with the aggregated price statistics updated 7-8 times a day.
CLICK HERE for an example page with the service result
docker build --no-cache -t ppm-dsc-hpv-gcm.py .
According to baseline:
docker run --entrypoint <entrypoint.sh> <image:tag> <arg1> <arg2> <arg3>
-v [host directory]:[container directory]
Option 1: Interactive with TTY
docker run -v ~:/usr/src/app/db -it --entrypoint python ppm-dsc-hpv-gcm.py ./PPM-DSC-HeisePV-GCM.py -f ./db/product_price_monitor.db -r 3
Option 2: In Background
docker run -d -v ~:/usr/src/app/db ppm-dsc-hpv-gcm.py
docker build --no-cache -t ppm-iv-hpv-gcm.py .
docker run -d -v ~:/usr/src/app/db -v /srv/nginx:/usr/src/app/img ppm-iv-hpv-gcm.py
docker pull nginx
docker run --name my-nginx -v /srv/nginx:/usr/share/nginx/html:ro -d -p 80:80 nginx
The Graphics created by the Backend Components are accessible in your browser with:
http://<yourserverip>/daily.png
http://<yourserverip>/intraday.png
docker logs <container name>
docker inspect <container name>
docker exec -it <container name> sh
You might be interested that you use "-f" with the logs command to follow the logs continuously.
docker container stop ppm-dsc-hpv-gcm.py
docker container rm ppm-dsc-hpv-gcm.py
docker volume rm <volumename>