2014-11-01 17:14:33 +01:00
|
|
|
Run Miniflux with Docker
|
|
|
|
========================
|
|
|
|
|
2015-07-19 17:36:05 +02:00
|
|
|
Miniflux can run easily with [Docker](https://www.docker.com).
|
|
|
|
There is a `Dockerfile` in the repository to build your own container.
|
|
|
|
|
|
|
|
Use the automated build
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
Every new commit on the repository trigger a new build on [Docker Hub](https://registry.hub.docker.com/u/miniflux/miniflux/).
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker run -d --name miniflux -p 80:80 -t miniflux/miniflux:latest
|
|
|
|
```
|
|
|
|
|
|
|
|
The tag **latest** is the **development version** of Miniflux, use at your own risk.
|
|
|
|
|
2016-12-29 18:55:31 +01:00
|
|
|
Use Docker Compose
|
|
|
|
------------------
|
|
|
|
|
|
|
|
The Git repository contains a `docker-compose.yml` file, so you can run easily Miniflux:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker-compose up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
- By default, the service listen on port 80
|
|
|
|
- A named volume is created to store your data on the host machine
|
|
|
|
|
2014-11-01 17:14:33 +01:00
|
|
|
Build your own image
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker build -t <yourname/imagename> .
|
|
|
|
```
|
|
|
|
|
2015-07-19 17:36:05 +02:00
|
|
|
Run container from the image:
|
2014-11-01 17:14:33 +01:00
|
|
|
|
|
|
|
```bash
|
|
|
|
docker run -p 80:80 --name miniflux <yourname/imagename>
|
|
|
|
```
|