Skip to main content

2 posts tagged with "web UI"

View All Tags

ยท 8 min read
Dominik Nowak

Encapsulating software within a container brings a lot of benefits, such as quicker deployment, easier development and - last but not least - isolation of your host system from the application.

In this blog post I will show you how to install and configure a VPN client directly inside a docker container without a need of installing anything on your host system.

Thanks to that other computers from a VPN network will have access only to that container and not to your host system!

Because a container has it's own VPN IPv6 network, you can also easily move that container to other hosts without changing anything in your system configuration.

tip

If you want to connect your existing multi-container system over the internet, then using a separate Docker VPN container will be a better move.

We cover that topic in a blog post introducing Docker VPN sidecar container.

I will show you how to do that in a few easy steps...

Connect over VPN network to a docker container directly to gain SSH access to the docker container over the internet

ยท 10 min read
Dominik Nowak

In this article I present how to host a web app on your Raspberry Pi (or other computers) with a couple of interesting features.

  • โ›” no static IP address, Dynamic DNS or port forwarding on your router needed
  • ๐Ÿš€ low latency access over the public Internet without server in the middle
  • ๐Ÿ” possibility to easily share access to that web app only to specific people

The web app will consist of two elements:

  • โœ๏ธ front-end: using Bootstrap 4 and websocket client written in JS
  • โœ๏ธ back-end: Python app with a websocket server providing a JSON API to the front-end part

I show a bi-directional connection over a single websocket. The demo application will be very simple - controlling a LED connected to Raspberry Pi using a button in web UI and controlling an indicator in the web UI over the button connected to Raspberry Pi.

๐Ÿ’ญ You can treat this app as a boilerplate code for your own, more sophisticated apps requiring a low-latency control over a web user interface.

Python backend and Bootstrap 4 front-end hosted on Raspberry Pi with remote access over the Internet