CodeForPhilly / balancer-main

CodeForPhilly balancer project (https://opencollective.com/code-for-philly/projects/balancer)
GNU Affero General Public License v3.0
11 stars 8 forks source link

Developers have a shared, easily deployed docker environment for balancer-backend #4

Closed jusjayson closed 1 year ago

jusjayson commented 1 year ago

New developers (and devs in a new enviornment) can quickly deploy a local instance of the project.

Purpose: Unify our environments for less debugging and more development!

Description

Given our different hardware and environments, a layer of abstraction will be useful for co-development. This will also yield the following long term benefits:

Functionality: Will not replace any previous environment, but will be a first-try at a standard going-forward.

Description

The larger goal is to create a unified (docker based) standard for how we add new architectural components. Ideally, one can pull, rebuild their containers, re-deploy, and keep working.

Affects: Nothing currently, but has large future implications.

Pros

Cons

Alternatives:

VMs

We could use VMs, but I think it'll consume more resources without large benefit. It is easy enough now to use a container for web-hosting, and to then access that container from the host.

Configuration scripts

We could require a discrete number of configurations and take responsibility for scripting environment installation, but I don't think there are any clear advantages to doing that (though we may want to script Docker installation).

Additional context

None for now