From f68b244e383280867caa67d3883e65efd73d12f7 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Fri, 7 Aug 2026 06:52:15 +0100 Subject: [PATCH] Fix docker compose file in readme --- README.md | 5 ++++- templates/add_spot.html | 2 +- templates/alerts.html | 2 +- templates/bands.html | 4 ++-- templates/base.html | 10 +++++----- templates/conditions.html | 2 +- templates/map.html | 4 ++-- templates/spots.html | 4 ++-- templates/status.html | 2 +- 9 files changed, 19 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 9d92812..714adc9 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ services: spothole: container_name: spothole build: - context: https://git.ianrenton.com/ian/spothole.git#latest + context: https://git.ianrenton.com/ian/spothole.git#main restart: unless-stopped ports: - "8080:8080" @@ -192,6 +192,9 @@ services: - ./cache:/app/cache ``` +You can replace `#main` with any other branch or tag reference, for example `#1.5` to pin the build to tagged version +1.5. + Save the file. You will still need to create a copy of `config-example.yml` and name it `config.yml`, though with the Docker setup nothing has actually been downloaded yet, so you will have to copy the example from the repository some other way, e.g. [from the repo in a web browser](https://git.ianrenton.com/ian/spothole/src/branch/main/config-example.yml). diff --git a/templates/add_spot.html b/templates/add_spot.html index d86da0d..963e2a7 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -76,7 +76,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index cd2fc22..c2ba70d 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -75,7 +75,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 90d846a..48a9607 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -75,8 +75,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 5a87751..a4cb464 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -10,10 +10,10 @@ - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index 5e53c57..e516ddb 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index 9211d7e..5ff13eb 100644 --- a/templates/map.html +++ b/templates/map.html @@ -108,8 +108,8 @@ - - + + diff --git a/templates/spots.html b/templates/spots.html index dc30e2b..669dc04 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -116,8 +116,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index de49753..9ffcfe6 100644 --- a/templates/status.html +++ b/templates/status.html @@ -59,7 +59,7 @@ - +