Added miniflux config
parent
d43880fbba
commit
e5c0122007
|
@ -0,0 +1,3 @@
|
|||
POSTGRES_DB=miniflux
|
||||
POSTGRES_USER=miniflux
|
||||
POSTGRES_PASSWORD=changeme
|
|
@ -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:
|
|
@ -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
|
Reference in New Issue