tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

Add Terraform configuration #17

Closed dorranh closed 1 year ago

dorranh commented 1 year ago

Now that we have a GCP project created (https://github.com/tweag/infra/issues/294) we need to add Terraform configuration for deploying our application.

The key components for the initial version of this include:

  1. A static IP address
  2. A GCE instance. This should be a resonable size and may be defined using a preemptible instance type to minimize costs.
  3. Config for provisioning the instance in (2). We currently have a docker compose file for spinning up our application, but we might also want to look into other approaches such as https://github.com/tweag/terraform-nixos

(3) might be a bit complex since we don't currently build the application using Nix, so I would be happy with an intermediate solution using some other approach as well.

dorranh commented 1 year ago

Closing this issue now that infra is handled separately.