From a814fde5b50d1a529c0f6e9a8c5527bf2e8cd29a Mon Sep 17 00:00:00 2001 From: gordonthree Date: Tue, 3 Jun 2025 09:35:38 -0400 Subject: [PATCH] Added docker-compose example --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 08d2e7d..a048428 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,34 @@ docker run -p 8080:8080 ghcr.io/netbymatt/ws4kp ``` Open your web browser: http://localhost:8080/ +To run via Docker Compose: +``` +--- +services: + ws4kp: + image: ghcr.io/netbymatt/ws4kp + container_name: ws4kp + environment: + - WSQS_hazards_checkbox=true + - WSQS_current_weather_checkbox=true + - WSQS_latest_observations_checkbox=true + - WSQS_hourly_checkbox=false + - WSQS_hourly_graph_checkbox=true + - WSQS_travel_checkbox=true + - WSQS_regional_forecast_checkbox=true + - WSQS_local_forecast_checkbox=true + - WSQS_extended_forecast_checkbox=true + - WSQS_almanac_checkbox=true + - WSQS_spc_outlook_checkbox=true + - WSQS_radar_checkbox=true + - WSQS_settings_kiosk_checkbox=true + - WSQS_settings_units_select=us + - WSQS_latLonQuery="90210 Beverly Hills CA USA" + # There are more possibilities, check the permalink for a complete list + + restart: unless-stopped +``` + ## Updates in 5.0 The change to 5.0 changes from drawing the weather graphics on canvas elements and instead uses HTML and CSS to style all of the weather graphics. A lot of other changes and fixes were implemented at the same time.