Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 672 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 672 Bytes

Fly Wordpress

Use this template to launching wordpress on fly.io

Get Started

First install and authenticate with flyctl tool

curl -L https://fly.io/install.sh | sh

export FLYCTL_INSTALL="$HOME/.fly"
export PATH="$FLYCTL_INSTALL/bin:$PATH"

fly auth login

Then launch from the template:

fly launch --from https://github.com/raven-consult/fly-wordpress --no-deploy

Update the environment variable from the example env file:

cp .env.example .env
vim .env

Then set the environment variables as fly.io secrets

cat .env | fly secrets import

Upon successful staging, you can then deploy

fly deploy --ha=false