41 lines
1.8 KiB
Markdown
41 lines
1.8 KiB
Markdown
# Versions, images and updates
|
|
|
|
Flypaper follows [Semantic Versioning](https://semver.org); every release is listed in
|
|
[CHANGELOG.md](../CHANGELOG.md) and on the
|
|
[releases page](https://gitea.anticarnist.de/Tom/Flypaper/releases). The running version is
|
|
shown in the dashboard footer and in the first log line.
|
|
|
|
All images live at `gitea.anticarnist.de/tom/flypaper`
|
|
([package page](https://gitea.anticarnist.de/Tom/-/packages/container/flypaper/latest)); no
|
|
login is needed to pull.
|
|
|
|
| Image tag | Meaning | Platforms |
|
|
|---|---|---|
|
|
| `:latest` | The newest release. The right choice for most setups. | amd64, arm64 |
|
|
| `:X.Y.Z` | A fixed release, e.g. `:0.1.0`. Pin it if you update deliberately. | amd64, arm64 |
|
|
| `:X.Y`, `:X` | The newest release of that minor or major line, e.g. `:0.1`, `:0`. | amd64, arm64 |
|
|
| `:main` | Development build of the latest commit on `main`. May break. | amd64 |
|
|
| `:<sha>` | Development build of one commit (short SHA), e.g. for a rollback. | amd64 |
|
|
|
|
arm64 covers e.g. a Raspberry Pi 4/5 with a 64-bit OS.
|
|
|
|
Pull a fixed version with `docker pull gitea.anticarnist.de/tom/flypaper:0.1.0`. To build a
|
|
specific release from source instead:
|
|
|
|
```bash
|
|
git checkout v0.1.0
|
|
docker build --build-arg VERSION=0.1.0 -t flypaper:0.1.0 .
|
|
```
|
|
|
|
You can always build the current source yourself: clone the repository and replace the
|
|
`image:` line in your compose file with `build: .`, or run `docker build -t flypaper .`.
|
|
|
|
## Updating
|
|
|
|
Pull or rebuild the image and recreate the container
|
|
(`docker compose pull && docker compose up -d`). The database is migrated automatically on
|
|
start; back up the `/data` volume first. Before 1.0, a minor version may contain breaking
|
|
changes, so read the changelog.
|
|
|
|
How releases are cut is described in [`deploy/unraid/README.md`](../deploy/unraid/README.md#releases).
|