fly-dotenv
v0.1.1
Published
A Node.js package that helps you copy environment variables from a dotenv file to Fly.io secrets.
Readme
fly-dotenv
https://www.npmjs.com/package/fly-dotenv
A Node.js package that helps you copy environment variables from a dotenv file to Fly.io secrets.
This package is inspired by heroku-dotenv
Installation
npm install --global fly-dotenvUsage
Before using the package, you need to install flyctl by following the instructions on https://fly.io/docs/hands-on/install-flyctl/.
After installing flyctl and setting up your Fly.io account and app, you can run the
fly-dotenvcommand to copy the environment variables from a .env file to Fly.io secrets.You can optionally provide the path to your
.envfile as a command line argument. If no argument is provided, the package will look for a.envfile in the current directory.
fly-dotenvfly-dotenv .env.for.you