Files
coder/dogfood
Mathias Fredriksson b2a16d46c6 chore: Unify Docker terraform templates (#4952)
Changes to terraform templates:

* Remove DNS (this can interfere with users running their own DNS
  servers)
* Remove `lower()` restriction from hostnames so that it will show the
  name set by the user, as-is (there is no restriction on upper case
  letters in hostnames)
* Remove superfluous `trap` in entrypoints, this is already handled by
  the init script
* Switch from `command` to `entrypoint` as the latter can support more
  Docker images out-of-the-box
2022-11-08 18:52:19 +02:00
..
2022-10-26 12:09:05 -05:00
2022-07-22 18:22:11 +00:00

dogfood template

Ammar is this template's admin.

Personalization

The startup script runs your ~/personalize file if it exists.

Hosting

Coder dogfoods on a beefy, single Teraswitch machine.

  • We decided to use a bare metal provider for best-in-class cost-to-performance.
  • We decided to use a single machine (vertical scaling) for fast parallelized builds and tests.

Provisioner Configuration

Our dogfood coderd box runs an SSH tunnel to our dogfood Docker host's docker socket.

The socket is mounted onto /var/run/dogfood-docker.sock in the coderd box.

The SSH tunnel command can be found hanging out in the screen session named forward.

The tunnel and corresponding SSH key is owned by root.