Add docker compose file
This commit is contained in:
parent
3a1ac4ed1d
commit
f90bb969cc
@ -11,5 +11,6 @@ config.php
|
|||||||
composer.json
|
composer.json
|
||||||
composer.lock
|
composer.lock
|
||||||
CONTRIBUTORS.md
|
CONTRIBUTORS.md
|
||||||
|
docker-compose.yml
|
||||||
Makefile
|
Makefile
|
||||||
README.markdown
|
README.markdown
|
||||||
|
@ -15,6 +15,7 @@ Version 1.2.0 (unreleased)
|
|||||||
* Disable automatically a feed after too many failures
|
* Disable automatically a feed after too many failures
|
||||||
* Add support for Expires and Cache-Control headers (HTTP cache)
|
* Add support for Expires and Cache-Control headers (HTTP cache)
|
||||||
* Update Docker image to Ubuntu 16.04 and PHP 7.0
|
* Update Docker image to Ubuntu 16.04 and PHP 7.0
|
||||||
|
* Add Docker compose file
|
||||||
* Add unit tests
|
* Add unit tests
|
||||||
|
|
||||||
Migration procedure from 1.1.x to 1.2.0:
|
Migration procedure from 1.1.x to 1.2.0:
|
||||||
|
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
miniflux:
|
||||||
|
image: miniflux/miniflux:latest
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
volumes:
|
||||||
|
- miniflux_data:/var/www/html/data
|
||||||
|
volumes:
|
||||||
|
miniflux_data:
|
||||||
|
driver: local
|
@ -15,6 +15,18 @@ 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.
|
The tag **latest** is the **development version** of Miniflux, use at your own risk.
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
Build your own image
|
Build your own image
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
@ -27,5 +39,3 @@ Run container from the image:
|
|||||||
```bash
|
```bash
|
||||||
docker run -p 80:80 --name miniflux <yourname/imagename>
|
docker run -p 80:80 --name miniflux <yourname/imagename>
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also mount the volume `/var/www/html/data` to save the data on the host machine (this folder must have write access from the container web server user).
|
|
||||||
|
Loading…
Reference in New Issue
Block a user