Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.
/ miniflux-init-db Public archive

A simple init container for Miniflux that creates the database, user and extensions for Miniflux.

License

Notifications You must be signed in to change notification settings

bwolf/miniflux-init-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniflux-init-db

miniflux-init-db is a simple init container for Miniflux that creates the database, user and extensions for Miniflux.

Motivation: Miniflux will not (by design) create the database, user and extensions. miniflux-init-db does this, enabling to deploy Miniflux fully automatic to Kubernetes.

Container Images

Please find container images on docker hub.

Example Use

# ...
initContainers:
- name: miniflux-init-db
  image: bwolf/miniflux-init-db:latest
  env:
  # values omitted for readability
  - name: DB_POSTGRES_HOST
  - name: DB_POSTGRES_PASSWORD
  - name: MINIFLUX_DB_NAME
  - name: MINIFLUX_DB_USERNAME
  - name: MINIFLUX_DB_PASSWORD
- name: init-miniflux
  image: miniflux
  command: ['sh', '-c', '/usr/bin/miniflux -migrate && /usr/bin/miniflux -create-admin']
  env:
  - name: DATABASE_URL
  - name: ADMIN_USERNAME
  - name: ADMIN_PASSWORD
containers:
- name: miniflux
  image: miniflux
  # ...

About

A simple init container for Miniflux that creates the database, user and extensions for Miniflux.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published