Copy index using the Python/elasticsearch package

Hello, a quick post on how to copy an index using a python client in version 7 (this is also a demonstration of how to use clients in a lower version) import argparse from elasticsearch7 import Elasticsearch from elasticsearch7.exceptions import ConnectionError from datetime import datetime def main(): parser = argparse.…

Private docker registry with authentication

Docker is a popular platform for developing, packaging, and deploying applications using containers. Docker Registry is a service that allows you to store and distribute Docker images. However, by default, Docker Registry is public and lacks authentication, which can be a security concern in some cases. In this blog post,…

Keycloak 19 Quarkus in Docker behind Nginx

Recently I decided to try to prepare demo of production version of Keycloak in the latest Quarkus release running with Docker and Postgres behing reverse proxy. There is not much information on the Internet on how to properly prepare such a configuration, but based on the documentation it is not…

Update ghost to latest version

Last time i received critical security note https://github.com/TryGhost/Ghost/security/advisories/GHSA-7v28-g2pq-ggg8 , therefore it was require to upgrade Ghost to patched version. Moreover i found that MariaDB will not be supported in near feature, and should be replaced by MySQL. Then i decided to go with update…

How to install Ghost in Docker

The recommended installation should be database-driven and simple. First, our data is persistent, and second, we don't want to mess with the command stream. Therefore, the instructions will be short and simple. Prerequisites: * VPS + Domain * Docker with docker-compose * Nginx (all services and websites are exposed via proxy) Files…