/homeserver

Repo for configuration of home server

Primary LanguageShell

homeserver

Repo for configuration of home server

Creating certificates

Self signed certificates with openssl

Comprehensive self signed RootCA

Installing certificates

Platform Notes
iOS Apple Forum
Android
Mac
Windows
Linux Stackoverflow
Heimdall Github

Traefik custom JSON

To help with using Traefik with other HTTP services not in docker, I've updated the dynamic file provider to read a JSON list instead of repeating myself in YAML. You must set a variable in your .env file as JSON_SERVICES that is an escaped single line JSON string. Is this unnecessary and overcomplicated? Yes, but I wanted to test out templating in dynamic config with Traefik.

Environment variable in .env file

JSON_SERVICES="{\"services\":[{\"name\":\"octoprint\",\"host\":\"http://YourLocalHostNameOrIpAddress:80\",\"ssl\":true},{\"name\":\"pi-hole\",\"host\":\"http://YourLocalHostNameOrIpAddress:8080\",\"ssl\":false}]}"

Pretty JSON for reference

{
  "services": [
    {
      "name": "octoprint",
      "host": "http://YourLocalHostNameOrIpAddress:80",
      "ssl": true
    },
    {
      "name": "pi-hole",
      "host": "http://YourLocalHostNameOrIpAddress:8080",
      "ssl": false
    }
  ]
}