You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sample project for testing porpuses, also I'm checking all different ways of declaring env variables/secrets. All values here are not confidential, so...
Login to fly.io
choco install flyctl -y
flyctl auth login
Run Dockerfile locally (optional)
docker image build -t flyio-sample:1.0 .
docker container run -p 3000:3000-d flyio-sample:1.0
docker container ls
docker container logs <CONTAINER_ID>
secrets fly.io:
{"FLYIO_SECRET2":"Another Value here from flyctl","FLYIO_SECRET1":"Some Value here from flyctl"}
secrets Dockerfile:
{"DOCKERFILE_SECRET1":"Some value here","DOCKERFILE_SECRET2":"AnotherValueHere"}
secrets .env:
{"DOTENV_SECRET1":"Some value here","DOTENV_SECRET2":"AnotherValueHere","DOTENV_SECRET3":"Another Value Here"}
secrets fly.toml:
{"FLYTOMLENV_SECRET1":"Some value here","FLYTOMLENV_SECRET2":"Another Value here"}