Skip to main content

Run an RSS Service with Miniflux

A Pulumi program that deploys a Miniflux RSS service with a PostgreSQL backend.

This example lives in the pulumi/examples repository. Check out just this directory to use it:

Get started with this example
git clone --filter=blob:none --sparse https://github.com/pulumi/examples pulumi-examples
git -C pulumi-examples sparse-checkout set aws-ts-pulumi-miniflux
cd pulumi-examples/aws-ts-pulumi-miniflux

Miniflux is an open-source RSS service written in Go and backed by PostgreSQL. This example demonstrates how to stand up a Miniflux service using AWS Fargate and RDS.

Prerequisites#

  1. Install Pulumi.
  2. Install Node.js.
  3. Configure your AWS credentials.

Deploying the App#

  1. Clone this repo, change to this directory, then create a new stack for the project:

    Terminal window
    pulumi stack init
  2. Apply the required configuration properties, making adjustments as you like, and taking care to choose strong passwords for the database user and service administrator (which will be stored as encrypted Pulumi secrets:

    Terminal window
    pulumi config set aws:region us-west-2
    pulumi config set db_name miniflux
    pulumi config set db_username miniflux
    pulumi config set db_password <YOUR_PASSWORD> --secret
    pulumi config set admin_username admin
    pulumi config set admin_password <YOUR_PASSWORD> --secret
  3. With your configuration values applied, stand up the service:

    Terminal window
    pulumi up
  4. In a few minutes, your service will be up and running, with the service URL printed as a Pulumi stack output.

    Terminal window
    ...
    Outputs:
    url: "http://lb-f90d03f-5c638bd4535d4c6a.elb.us-west-2.amazonaws.com:8080"

    Sign in using the administrative user and password you configured above, and start RSSing!

  5. When you’re ready, destroy your stack and remove it:

    Terminal window
    pulumi destroy --yes
    pulumi stack rm --yes

Related

The infrastructure as code platform for any cloud.