To set your alpine-based container to output the date in your favorite local timezone, pass it the
TZ=Europe/Amsterdam environment variable and also install the
tzdata package using
date command will then give you your local time instead of (the default) UTC time.
This is about my WiFi network set-up with Ubiquiti Access Points (AP’s) in a home situation, but without having (or wanting) physical hardware for running the Unifi Network Controller software on premise (required for set-up and management purposes). The software is therefore running as a container on a Virtual Machine in the Microsoft Azure cloud and AP’s are adopted by it via the ‘Layer 3 Adoption for Remote Unifi Controllers’ method. Because running the Unifi Network Controller web UI with a proper (valid and auto-renewing) LetsEncrypt web certificate and working websocket connections wasn’t trivial after all, that’s what I’m sharing in this article.
I’ve been looking for a good solution for viewing my docker container logs via Kibana and Elasticsearch while at the same time maintaining the possibility of accessing the logs from the docker community edition engine itself that sadly lacks an option to use multiple logging outputs for a specific container.
So I’ve come accross WireGuard, which is the best thing since sliced bread for the (home) VPN. It has awesome features and they sum it up themselves summing it up with it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.. I couldn’t agree more.