25 lines
583 B
YAML
25 lines
583 B
YAML
|
version: '3.3'
|
||
|
services:
|
||
|
miniflux:
|
||
|
image: miniflux/miniflux:latest
|
||
|
container_name: miniflux
|
||
|
ports:
|
||
|
- "80:8080"
|
||
|
depends_on:
|
||
|
- db
|
||
|
environment:
|
||
|
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
|
||
|
- RUN_MIGRATIONS=1
|
||
|
- CREATE_ADMIN=1
|
||
|
- ADMIN_USERNAME=admin
|
||
|
- ADMIN_PASSWORD=test123
|
||
|
db:
|
||
|
image: postgres:latest
|
||
|
container_name: postgres
|
||
|
environment:
|
||
|
- POSTGRES_USER=miniflux
|
||
|
- POSTGRES_PASSWORD=secret
|
||
|
volumes:
|
||
|
- miniflux-db:/var/lib/postgresql/data
|
||
|
volumes:
|
||
|
miniflux-db:
|