Sidekick container used to generate weather data for my personal website.
1.7K
Code Repository: https://github.com/zimmertr/Weatherpy_DockerEmulator DOCKERFILE: https://github.com/zimmertr/Weatherpy_Docker/blob/master/Dockerfile
Sidekick container used to generate weather data for my personal website. Docker container is constructed by me using JackWink's project on GitHub found here: https://github.com/JackWink/Weather
Base Image: CentOS 7 Installed Packages:
cronie: Cron for weatherpy updates
git: Git to clone code to container
python-setuptools: Python module to install weatherpy
Deployment Instructions:
Use this container instead, this one will be pulled automatically when necessary: https://hub.docker.com/r/zimmertr/personal-website/
How does it work?
/root/.weatherrc and /root/.weather.txt.cronie, git, and python-setup-tools.weatherpy and installs it.crontab and weather_updator.sh scripts.weather_updator.sh script with commands used to grab weather data and ultimately populate weather.txt file.crontab file with call to weather_updator.sh every 3 minutes (maximum allowed 500 calls/day). Load crontab into crond.crond in foreground.Content type
Image
Digest
Size
123.9 MB
Last updated
over 8 years ago
docker pull zimmertr/weatherpy