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:
git clone --filter=blob:none --sparse https://github.com/pulumi/examples pulumi-examplesgit -C pulumi-examples sparse-checkout set aws-ts-pulumi-minifluxcd pulumi-examples/aws-ts-pulumi-minifluxMiniflux 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#
- Install Pulumi.
- Install Node.js.
- Configure your AWS credentials.
Deploying the App#
-
Clone this repo, change to this directory, then create a new stack for the project:
Terminal window pulumi stack init -
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-2pulumi config set db_name minifluxpulumi config set db_username minifluxpulumi config set db_password <YOUR_PASSWORD> --secretpulumi config set admin_username adminpulumi config set admin_password <YOUR_PASSWORD> --secret -
With your configuration values applied, stand up the service:
Terminal window pulumi up -
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!
-
When you’re ready, destroy your stack and remove it:
Terminal window pulumi destroy --yespulumi stack rm --yes