Skip to main content

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.yml is run on every push to the main branch and will manually cd into /opt/vxplatform/staging and run the deploy_prod script.
  • .github/workflows/deploy_frankfurt_prod.yml is run manually with a specified version tag and will cd into /opt/vxplatform/prod and run the deploy_prod script.