Added miniflux config

pull/3/head
Jef Roosens 2021-01-06 08:51:52 +01:00
parent d43880fbba
commit e5c0122007
4 changed files with 45 additions and 0 deletions

View File

View File

@ -0,0 +1,3 @@
POSTGRES_DB=miniflux
POSTGRES_USER=miniflux
POSTGRES_PASSWORD=changeme

View File

@ -0,0 +1,34 @@
version: '3.5'
services:
app:
image: 'miniflux/miniflux:latest'
restart: 'always'
depends_on:
- 'db'
env_file:
- 'miniflux.env'
labels:
- 'com.centurylinklabs.watchtower.enable=true'
networks:
- 'default'
- 'nginx'
db:
image: 'postgres:13-alpine'
restart: 'always'
env_file:
- 'db.env'
labels:
- 'com.centurylinklabs.watchtower.enable=true'
volumes:
- 'db-data:/var/lib/postgresql/data'
networks:
nginx:
external: true
volumes:
db-data:

View File

@ -0,0 +1,8 @@
# Database settings
DATABASE_URL=postgres://miniflux:changeme@db/miniflux?sslmode=disable
RUN_MIGRATIONS=1
# Auto-create admin user
CREATE_ADMIN=1
ADMIN_USERNAME=admin
ADMIN_PASSWORD=changeme