Docker configs for Miniflux.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
737 B

version: '3'
services:
waitfordb:
image: dadarek/wait-for-dependencies
depends_on:
- db
command: db:5432
miniflux:
image: miniflux/miniflux:2.1.3
ports:
- "${MINIFLUX_HTTP_PORT}:8080"
depends_on:
- db
- waitfordb
environment:
- BASE_URL=${BASE_URL}
- 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: