Automated reverse HTTP and HTTPS proxy on docker with nginx

Usually the host server has only one fixed IP. So all domains of all your dockerized services get resolved to the same IP. Somehow the server needs to know, how to route all the requests and responses to correct app. On a “normal” webserver you would be using virtual hosts to direct the traffic to the correct page. On a docker host things are a bit more complex, as each dockerized app is using it’s own webserver. So we’ll need a reverse proxy to route the traffic.

Read More

Docker host – basic installation

Docker is a system to run applications in independent containers. This makes apps easier to deploy, update and migrate. I’m using it on several docker host servers, all of them are set up in the same way. They are all using debian as operating system, docker community edition and ldap based user login. In this post I’ll describe my standard setup of a docker host system.

Read More

Installation of hass.io on a raspberry pi

I’ve been using home assistant in a virtual machine on my home server for almost a year now. It rellay is a great piece of software for home automation with almost limitless possibilities. However I’ve decided to move it to hass.io on a raspberry pi mainly because of some additional features. On the rapberry I can directly use the bluetooth module needed for some sensors. And hass.io offers some need add ons like a server to control Amazon’s FireTV stick or my USV. Except the more limited CPU I couldn’t find any drawbacks so far. Hass.io is basically a very slim linux running home assistant and some other useful tools in docker containers which you can control from home assistant’s gui.

Read More

Texdoc for arch linux

Texdoc is a fast way to find and open \LaTeX package documentation. I write quite a lot of school related documents in \LaTeX. There are tons of great packages and I use quite a few of them. Most I don’t use regularly so often forget how things work and need to look at the documentation. I used to open the documentation from terminal by a quick

texdoc packagename

Read More

User login using LDAP and pam_ldapd

LDAP comes handy to manage users and groups across many systems. However you’ll probably want only a subset of your users to login on console or over ssh. In this post I’ll describe my setup using pam_ldapd.

This is a post from my old blog http://tech.cbjck.de. It has been moved here and slightly edited for better readability. It's also been adjusted to the new layout.
The content however is old and might be outdated.

Read More

Installing devuan on a Alix APUC1

The Alix APUs are some really nice power efficient boards. However they don’t have any graphical output so installing an OS can be quite demanding. Since I just managed to get devuan running, I decided to write it down. Same procedure should as well be working for debian.

This is a post from my old blog http://tech.cbjck.de. It has been moved here and slightly edited for better readability. It's also been adjusted to the new layout.
The content however is old and might be outdated.

Read More

LDAP schema change on existing server

Adding a new LDAP schema can already be tricky. Changing a LDAP schema on an existing server ressembles an operation at the living heart – especially if you’re using the new config backend at cn=config. I’ll describe how I’ve interchanged the nis schema for the rfc2307bis schema.

This is a post from my old blog http://tech.cbjck.de. It has been moved here and slightly edited for better readability. It's also been adjusted to the new layout.
The content however is old and might be outdated.

Read More