Add Miniflux feed reader (#238)

This commit is contained in:
Salmanul Farzy 2020-07-31 06:53:13 +05:30 committed by GitHub
parent d72088b715
commit d2befaf8da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 73 additions and 0 deletions

View File

@ -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,}/"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB