Find file History
Latest commit 4b6d929 Jan 20, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Dockerfile Use specific version of protoc-gen-go Jan 20, 2019
Makefile Fix tmux and co Jan 1, 2019
README.md Update README.md Dec 31, 2018
bootstrap.sh Update dev container Jan 20, 2019
entrypoint.sh Add protobuf (#12) Jan 17, 2019
main.tf Dockerize 2 (#10) Dec 31, 2018
pull-secrets.sh Update pull-secrets.sh Jan 2, 2019

README.md

Workstation build

This terraform setup creates a workstation on DigitalOcean with my personal setup and ready to use mosh setup.

Install

  1. Create workstation droplet
$ export DIGITALOCEAN_TOKEN="Put Your Token Here" 
$ terraform plan
$ terraform apply -auto-approve
  1. SSH via mosh:
$ mosh --no-init --ssh="ssh -o StrictHostKeyChecking=no -i ~/.ssh/github_rsa -p 3222" root@<DROPLET_IP> -- tmux new-session -AD -s main
$ cd ~/secrets && ./pull-secrets.sh

Todo

  • Encrypt /mnt/secrets
  • Resync back some dynamic files (such as .zsh_history) back to 1password occasionally