"HamClock is a kiosk-style application that provides real time space weather, radio propagation models, operating events and other information particularly useful to the radio amateur." (Source: Hamclock Website)
Goal of this repository is to build and run Hamclock inside Docker for ease of use. Hamclock will be exposed as a webservice on http://localhost:8081/live.html
This repository does NOT contain any Hamclock source files as it's neither neccessary nor is the licensing clear. The files will be downloaded and compiled during docker build
.
More information and documentation on the Hamclock Website: https://www.clearskyinstitute.com/ham/HamClock/
I assume that you're on some form of Linux/Unix system. Docker and (optionally) Docker Compose are installed. This may or may not work inside Windows WSL2 environment. I've not tested it and most likley will. Please give feedback if you tested this. :)
As of now, i don't have a raspbery Pi. WB0OEW gave me the feedback, that the docker-compose
variant doesn't work on his Pi4, we're going to work that out.
config_example.env
to config.env
and edit to your likingdocker build -t hamclock .
docker run --rm --name hamclock -d -it -p 8081:8081 -p 8080:8080 --env-file config.env hamclock
docker stop hamclock
config_example.env
to config.env
and edit to your likingdocker-compose up -d
docker-compose down
git clone https://github.com/zeidlos/hamclock-docker.git
cd hamclock-docker
config_example.env
to config.env
and edit to your likingdocker build -t hamclock:latest
docker-compose -f docker-compose.hybrid.yml up -d
ex: with the port changed to 9500 the address to access hamclock will be http://localhost:9500/live.html
At this point I assume you have deeper knowledge on how to use Docker and potentially Kubernetes as well as reverse proxies, so I won't bother to explain the myriad of options on how to get it to run on remote infrastructure.
(x) Intel based MacOS (x) Silicon based MacOS (x) Intel based Linux (Debian) (?) Rasbian (?) Windows WSL2
Please let me know if you encounter any issues or problems. Ideally you include your operating system, architecture (Intel, AMD, Atom, Apple Silicon M1/2) as well as the software versions of docker and docker compose in your ticket. I'll gladly assist in any issues. You can also email me, using the email address on my QRZ-page (DO7JZ).
If you're interested in advancing this, please use the usual workflow of forking and creating a pullrequest.
Chris thought this project is not maintained anymore and did want to try a different approach. If this doesn't work for you maybe give his project a try: https://github.com/ChrisRomp/hamclock-docker
Customize Hamclock configuration via config file
Initial release.
Thanks to WB0OEW for his great ham radio tool! 73