Skip to content

kui/k-ui.jp-do-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k-ui.jp Digital Ocean terraform

terraform configs for http://k-ui.jp/ on Digital Ocean

# Create droplet or re-apply the chenged .tf for k-ui.jp
$ make apply

# Re-create droplet to re-apply the chenged `scripts`
$ make force-apply

# Destroy the droplet
$ make destroy

# SSH login to the current droplet
$ make login

# Open the HTTP service on the current droplet
$ make open-http

Notes

  • Create ./scripts/gmail-{user,password} to report Munin alerts and blog build cron
  • Config Syncthing manually

Environment Switching

This configs has two environment to continue these services.

Do the blow if you want to change this configs:

  1. Change ENV in Makefile
  2. Edit configs
  3. make apply or make force-apply
  4. Check the edited configs:
  • make login or
  • make open-http
  1. Retry 2.-4. if you need
  2. Change the k-ui.jp DNS to the current environment IP address
  • make show if you need
  1. Do some git operations

About

k-ui.jp terrafrom settings on Digital Ocean

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published