rwx-yxu / inventory

Inventory application that uses openfaas to deploy an api backend and vuejs front end.
0 stars 0 forks source link

Create staging and prod environment #8

Closed rwx-yxu closed 2 years ago

rwx-yxu commented 2 years ago

Staging and prod will be two separate subdomains. In practice, the staging environment will be on my pi3 and prod will be on pi4. Everything is currently hosted on my pi3.

Tasks

rwx-yxu commented 2 years ago

Bumped to priority. The separate environments will need different secrets. I may consider move changing the connection string secret to db host, port and username

rwx-yxu commented 2 years ago

Provisioned pi 4 and moved inlets pro and caddy to it. The workflow will need to be altered with an additional secret for the prod and staging URL. I am thinking of making a release branch for both envs. Something like release/staging and release/prod. Or, I could have the main deploy to staging and just have a release branch. Calling the branch deployment or deploy also works.