Coder Templates
A collection of templates and utilities for creating consistent development environments using Coder.
Overview
This repository contains templates and utilities for creating consistent development environments using Coder. The templates ensure that every developer gets the same environment with all necessary tools pre-configured.
Quick Links
Key Features
- Pre-configured templates
- Team collaboration ready
- Fast environment provisioning
- Cloud deployment guides for multiple providers
Purpose
The scripts package development environment templates into portable tar archives (.tar
). This is a crucial step in the Coder template workflow:
- Define the development environment in a template directory
- Run the packaging script to create a
.tar
archive - Upload the generated
.tar
file to Coder as a new template - Coder uses this template to create consistent development environments for all team members
Current Templates
Terminal Jarvis Playground
A development environment for Terminal-Jarvis with Node.js and Git support.
Usage
To package a template environment, use the appropriate script for your operating system:
These scripts will create .tar
archives containing the development environment.
Template Structure
Each template directory contains: - Dockerfile
: Defines the development environment - main.tf
: Terraform configuration for the Coder workspace - Additional configuration files as needed
Cloud Deployment Models
Guides for running templates on common cloud free tiers and low-cost infrastructure:
- Docker Desktop (Local Baseline)
- GCP Deployment (Always Free)
- AWS Deployment (Free Tier)
- Azure Deployment (Free/Low-Cost)
- Limitations & Constraints
Each guide covers: - Recommended instance sizes and limits - Optional swap and resource tuning - Cost optimization strategies
Documentation
For comprehensive documentation, visit the GitHub repository and explore the docs/
directory.