Tier on Fly.io
This repository provisions tier on fly.io as a private service
Setup
Create an app out of this template.
flyctl launch --no-deploy
Then we set the stripe api key secret, and deploy it
flyctl secrets set STRIPE_API_KEY=sk_live_...
Usage
The app is now available internally at http://<app>.internal/
.
Test environment
If you want to use a test key, you'll have to remove the --live
argument from the ENTRYPOINT command in the Dockerfile.