|
@@ -66,13 +66,16 @@ The [tags](https://hub.docker.com/r/freshrss/freshrss/tags) correspond to FreshR
|
|
|
|
|
|
|
|
* `:latest` (default) is the [latest stable release](https://github.com/FreshRSS/FreshRSS/releases/latest)
|
|
* `:latest` (default) is the [latest stable release](https://github.com/FreshRSS/FreshRSS/releases/latest)
|
|
|
* `:edge` is the rolling release, same than our [git `edge` branch](https://github.com/FreshRSS/FreshRSS/tree/edge)
|
|
* `:edge` is the rolling release, same than our [git `edge` branch](https://github.com/FreshRSS/FreshRSS/tree/edge)
|
|
|
-* `:x.y.z` are [specific FreshRSS releases](https://github.com/FreshRSS/FreshRSS/releases)
|
|
|
|
|
-* `:arm` or `:*-arm` are the ARM `arm32v7` versions (e.g., for Raspberry Pi).
|
|
|
|
|
|
|
+* `:x.y.z` tags correspond to [specific FreshRSS releases](https://github.com/FreshRSS/FreshRSS/releases), allowing you to target a precise version for deployment
|
|
|
|
|
+* `:x.y` tags are tied to a specific major version and minor version number. For example, `:1.23` will automatically receive updates for any `1.23.x` releases, but will not update to `1.24.x`
|
|
|
|
|
+* `:x` tags track the latest release within a major version series. For instance, `:1` will update to include any `1.x` releases, but will exclude versions beyond `2.x`
|
|
|
|
|
+* `*-alpine` use Linux Alpine as base-image instead of Debian
|
|
|
|
|
+* Our Docker images are designed with multi-architecture support, accommodating a variety of Linux platforms including `linux/arm/v7`, `linux/arm64`, and `linux/amd64`.
|
|
|
* For other platforms, see the [custom build section](#build-custom-docker-image)
|
|
* For other platforms, see the [custom build section](#build-custom-docker-image)
|
|
|
|
|
|
|
|
### Linux: Debian vs. Alpine
|
|
### Linux: Debian vs. Alpine
|
|
|
|
|
|
|
|
-Our default image is based on [Debian](https://www.debian.org/). We offer an alternative based on [Alpine](https://alpinelinux.org/) (with the `:alpine` or `*-alpine` tag suffix).
|
|
|
|
|
|
|
+Our default image is based on [Debian](https://www.debian.org/). We offer an alternative based on [Alpine](https://alpinelinux.org/) (with the `*-alpine` tag suffix).
|
|
|
In [our tests](https://github.com/FreshRSS/FreshRSS/pull/2205) (2019), Alpine was slower,
|
|
In [our tests](https://github.com/FreshRSS/FreshRSS/pull/2205) (2019), Alpine was slower,
|
|
|
while Alpine is smaller on disk (and much faster to build),
|
|
while Alpine is smaller on disk (and much faster to build),
|
|
|
and with newer packages in general (Apache, PHP).
|
|
and with newer packages in general (Apache, PHP).
|
|
@@ -108,7 +111,7 @@ docker rm freshrss_old
|
|
|
## Build custom Docker image
|
|
## Build custom Docker image
|
|
|
|
|
|
|
|
Building your own Docker image is especially relevant for platforms not available on our Docker Hub,
|
|
Building your own Docker image is especially relevant for platforms not available on our Docker Hub,
|
|
|
-which is currently limited to `x64` (Intel, AMD) and `arm32v7`.
|
|
|
|
|
|
|
+which is currently limited to `x64` (Intel, AMD), `arm32v7`, `arm64`.
|
|
|
|
|
|
|
|
> ℹ️ If you try to run an image for the wrong platform, you might get an error message like *exec format error*.
|
|
> ℹ️ If you try to run an image for the wrong platform, you might get an error message like *exec format error*.
|
|
|
|
|
|
|
@@ -395,27 +398,6 @@ docker-compose down --remove-orphans --volumes
|
|
|
|
|
|
|
|
> ℹ️ You can combine it with `-f docker-compose-db.yml` to spin a PostgreSQL database.
|
|
> ℹ️ You can combine it with `-f docker-compose-db.yml` to spin a PostgreSQL database.
|
|
|
|
|
|
|
|
-### Docker Compose and ARM64
|
|
|
|
|
-
|
|
|
|
|
-If you’re working or want to host on an ARM64 system (such as Apple Silicon (M1/M2)) you’ll need to use the `arm` tag in your `docker-compose.yml` file:
|
|
|
|
|
-```yaml
|
|
|
|
|
-image: freshrss/freshrss:arm
|
|
|
|
|
-```
|
|
|
|
|
-
|
|
|
|
|
-If you then get this error message when running `docker compose up`:
|
|
|
|
|
-
|
|
|
|
|
-> The requested image’s platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
|
|
|
|
|
-
|
|
|
|
|
-… you will also need to specify the platform in the `service` part:
|
|
|
|
|
-
|
|
|
|
|
-```yaml
|
|
|
|
|
-services:
|
|
|
|
|
- freshrss:
|
|
|
|
|
- image: freshrss/freshrss:arm
|
|
|
|
|
- platform: linux/arm/v7
|
|
|
|
|
- container_name: freshrss
|
|
|
|
|
- ```
|
|
|
|
|
-
|
|
|
|
|
## Run in production
|
|
## Run in production
|
|
|
|
|
|
|
|
For production, it is a good idea to use a reverse proxy on your host server, providing HTTPS.
|
|
For production, it is a good idea to use a reverse proxy on your host server, providing HTTPS.
|