Deployment
This repo's GitHub actions builds both frontend and backend containers and publishes those to GitHub Container Registry (GHCR).
A deployment consists of:
- this repo, cloned into a directory on the host
- a
.env.prod, configuring ports and secrets - optionally, a docker compose override file, configuring e.g. volumes for persistent storage
We version-control the the compose overrides for the two deployments hosted on the Frankfurt server, and provide GitHub actions for automated deployment of those two in .github/workflows/deploy_frankfurt_*.yaml.
These actions perform the following steps:
.github/workflows/deploy_frankfurt_staging.ymlis run on every push to themainbranch and will manually cd into/opt/vxplatform/stagingand run thedeploy_prodscript..github/workflows/deploy_frankfurt_prod.ymlis run manually with a specified version tag and will cd into/opt/vxplatform/prodand run thedeploy_prodscript.