diff --git a/public/v2/apps/miniflux.json b/public/v2/apps/miniflux.json new file mode 100644 index 0000000..4106b8b --- /dev/null +++ b/public/v2/apps/miniflux.json @@ -0,0 +1,73 @@ +{ + "captainVersion": "2", + "displayName": "Miniflux", + "documentation": "https://miniflux.app/docs/index.html", + "description": "Self hosted RSS server", + "dockerCompose": { + "version": "3.8", + "services": { + "$$cap_appname-db": { + "image": "postgres:$$cap_postgres_version", + "notExposeAsWebApp": "true", + "volumes": ["$$cap_appname-db-data:/var/lib/postgresql/data"], + "restart": "always", + "environment": { + "POSTGRES_USER": "miniflux", + "POSTGRES_PASSWORD": "$$cap_postgres_password", + "POSTGRES_DB": "miniflux" + } + }, + "$$cap_appname": { + "image": "miniflux/miniflux:$$cap_miniflux_version", + "containerHttpPort": "8080", + "depends_on": ["$$cap_appname-db"], + "restart": "always", + "environment": { + "DATABASE_URL": "postgres://miniflux:$$cap_postgres_password@srv-captain--$$cap_appname-db/miniflux?sslmode=disable", + "RUN_MIGRATIONS": "1", + "CREATE_ADMIN": "1", + "ADMIN_USERNAME": "$$cap_admin_user", + "ADMIN_PASSWORD": "$$cap_admin_password" + } + } + }, + "volumes": { + "$$cap_appname-db-data": {} + } + }, + "instructions": { + "start": "Miniflux is a minimalist and opinionated feed reader.", + "end": "Miniflux is deployed and the dashboard is available from http://$$cap_appname.$$cap_root_domain." + }, + "variables": [ + { + "id": "$$cap_miniflux_version", + "label": "Miniflux version", + "defaultValue": "2.0.22", + "description": "Checkout valid tags at https://hub.docker.com/r/miniflux/miniflux/tags" + }, + { + "id": "$$cap_admin_user", + "label": "Admin user" + }, + { + "id": "$$cap_admin_password", + "label": "Admin Password", + "defaultValue": "$$cap_gen_random_hex(10)" + }, + { + "id": "$$cap_postgres_version", + "label": "Postgres Version", + "defaultValue": "9.6.18-alpine", + "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/postgres/tags/", + "validRegex": "/^([^\\s^\\/])+$/" + }, + { + "id": "$$cap_postgres_password", + "label": "Postgres Password", + "defaultValue": "$$cap_gen_random_hex(10)", + "description": "", + "validRegex": "/.{1,}/" + } + ] +} diff --git a/public/v2/logos/miniflux.png b/public/v2/logos/miniflux.png new file mode 100644 index 0000000..aa6be06 Binary files /dev/null and b/public/v2/logos/miniflux.png differ