Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(other): test deployment locally
Context ------- There was a similar PR #1263 attempting to do the same with docker. I was running into isolation issues with docker (setting hostname not allowed in the container and some system folders are read-only) and learned that for this use case, an actual hypervisor would be better and vagrant is a conventional tool to set up these virtual machines. Motivation ---------- On the weekend we had a downtime on production because `nginx` configurations got out of sync with the code in newer releases. To prevent this and further downtimes I suggest to check in our deployment configuration and make it *reproducible*. This PR is an attempt to create a virtual machine that behaves as similar as possible to production and can be used as a sandbox for changes to our deployment configuration. How to test ----------- 1. Install [Vagrant](https://www.vagrantup.com/) on your machine 2. `cd deployment/local-testing` 3. `vagrant up` .. and wait 4. Following services are running: * http://localhost:8080/ * http://localhost:8080/api * http://localhost:8080/docs 5. Be amazed
- Loading branch information