Browse Source

initial commit

master
Yasuhiro Yamaguchi 5 years ago
commit
efa61e2c3b
  1. 1
      .gitignore
  2. 15
      README.md
  3. 32
      docker-compose.yml

1
.gitignore

@ -0,0 +1 @@
.env

15
README.md

@ -0,0 +1,15 @@
miniflux-docker
===============
Docker configs for [Miniflux](https://miniflux.app/).
### Installation
```
$ cat << EOF > .env
MINIFLUX_HTTP_PORT=8080
MINFLUX_ADMIN_USERNAME=user
MINFLUX_ADMIN_PASSWORD=password
$ docker-compose up -d
```

32
docker-compose.yml

@ -0,0 +1,32 @@
version: '3'
services:
waitfordb:
image: dadarek/wait-for-dependencies
depends_on:
- db
command: db:5432
miniflux:
image: miniflux/miniflux:latest
ports:
- "${MINIFLUX_HTTP_PORT}:8080"
depends_on:
- db
- waitfordb
environment:
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
- RUN_MIGRATIONS=1
- CREATE_ADMIN=1
- ADMIN_USERNAME=${MINFLUX_ADMIN_USERNAME}
- ADMIN_PASSWORD=${MINFLUX_ADMIN_PASSWORD}
db:
image: postgres:12.3-alpine
environment:
- POSTGRES_USER=miniflux
- POSTGRES_PASSWORD=secret
volumes:
- miniflux-db:/var/lib/postgresql/data
volumes:
miniflux-db:
Loading…
Cancel
Save