Filing Deadlines is deployed on a Digital Ocean droplet running Docker Swarm.
Docker images are built from the source code and uploaded to a Container Registry on Digital Ocean. This is automated by a GitHub action that runs on every commit to master.
The production Droplet pulls the images from the container registry and runs them.
- Push changes to GitHub
- Wait for images to be build by GitHub Action
- Copy image hash from Container Registry
- On prod machine,
- run
docker pull registry.digitalocean.com/fdcr/filing-deadlines/{hash}
- run
docker service update --image {image hash} filing-deadlines_{service}