build: remove requirement to edit docker-compose.yml per-stage

This commit is contained in:
Iain Learmonth 2025-04-28 15:13:15 +01:00
parent 201a3ca255
commit 276fdccf36
4 changed files with 67 additions and 20 deletions

View file

@ -1,12 +1,10 @@
Legacy Updater Tool
===================
# 🔄 Legacy Updater Tool
This updater exists to facilitate a transition from the legacy mirrors orchestration to its replacement.
As far as I know, no one else has ever deployed the original orchestrator so this will almost certainly not be useful
to you.
Configuration
-------------
## ⚙️ Configuration
When working with the Docker Compose file, configure the sources via the environment file: `updater.env`.
One environment variable per configured pool with an HTTP URL to the Bypass Censorship Mirrors JSON file for each pool.
@ -17,7 +15,7 @@ For example:
JASIMA_MIRRORS_POOL_example=https://www.example.com/mirrors.json
```
### Per-site Configurations
### 🌐 Per-site Configurations
In the configs directory, create a file named `default.json` to provide the default site configuration.
Create files named `<host>.json` to override the default.