Skip to content

Notes

Cloudflare

  • DNS for Kremlin domains are managed in Cloudflare.
  • Domains are currently registered with Cloudflare and use Cloudflare name servers to manage DNS.
    • Was registered with Google Domains, but transferred to Cloudflare on 2023-08-07.

Gmail Account for Emailing

This email account was created for anything that needs to send emails (alerting, etc.).

  • Username: kremlin.victorbush@gmail.com
  • Password: in Proton Pass
  • App passwords: in Proton Pass (each app should use its own password).
  • SMTP: smtp.gmail.com
  • Port: 587 (StartTLS) or 465 (SSL)

PowerShell Scripts

  • Commands can be split up into multiple lines using the back-tick ` character.
  • Inline comments can be added, but that must be BEFORE the back tick.
docker run `
    -d `
    --name something `
    -p 443:443 `
    imagename

New Relic

New Relic is installed on server and server-02.

Statuspage

Docker Notes

How to backup and restore a volume

  • Backup the volume:
    • docker run --rm --volumes-from unifi -v /d/temp:/backup busybox tar cvf /backup/backup.tar /unifi
  • Use scp (or whatever) to copy file to new host server.
  • Create new data container (make sure to name the volume):
    • sudo docker create -v unifi-vol:/unifi --name TEMPDATA busybox true
  • Untar backup files into new container’s data volume:
    • sudo docker run --rm --volumes-from TEMPDATA -v $(pwd):/backup busybox tar xvf /backup/backup.tar
  • Delete temp container:
    • sudo docker rm TEMPDATA
  • References: