mirror of
https://github.com/coder/coder.git
synced 2025-03-14 10:09:57 +00:00
Ensure that the version of Playwright installed with the Nix flake is equal to the one specified in `site/package.json.` -- This assertion ensures that `pnpm playwright:install` will not attempt to download newer browser versions not present in the Nix image, fixing the startup script and reducing the startup time, as `pnpm playwright:install` will not download or install anything. We also pre-install the required Playwright web browsers in the dogfood Dockerfile. This change prevents us from redownloading system dependencies and Google Chrome each time a workspace starts. Change-Id: I8cc78e842f7d0b1d2a90a4517a186a03636c5559 Signed-off-by: Thomas Kosiewski <tk@coder.com> Signed-off-by: Thomas Kosiewski <tk@coder.com>
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.