Tag: docker

Install Nextcloud with OnlyOffice and Postgres

In the previous short article about installing Nextcloud I did not provide much details, apart from port configuration (that might even be needed depending on other factors). The setup I chose just worked. However, I too found the basic SQLite database performance a little bit la...

Enable query stats in Mastodon with postgres

Clicking pghero under Mastodon Administration menu, the interface shows the Query stats must be enabled for slow queries orange warning, in the interface that looks like this: A screenshot of the pghero interface notifying the user that Query stats must be enabled for slow querie...

Running Mastodon with docker-compose

A minimal set of commands I had to do to successfully run Mastodon via docker-compose on the VPS. Many OS specific configurations are omitted, as I decided to use Arch on this VPS as well, which is not what most people choose for their server environment, at least not when caveat...

Reverse proxy behind a reverse proxy

Learning things the hard way by getting my hands dirty is also the way I have learned about the concept of a reverse proxy behind another reverse proxy. The setup I had was a docker-compose file that configured multiple services including Nginx as a reverse proxy. Nothing special...

Certificate not found with Nginx under Docker

When trying to run a docker-compose with a Nginx inside and setting up TLS for a virtual host (subdomain), this error showed up: `` nginx: [emerg] cannot load certificate "/etc/nginx/ssl/sub.peterbabic.com.cer": BIOnewfile() failed (SSL: error:02001002:system library:fopen: No su...

Accessing Gitea Postgres inside Docker

The gitea issue #5917 discusses how to make multiple users unwatch a repository. It has inspired to write the steps down, as it was not entirely obvious to me. There was a change introduced via PR #5852 released that added an option AUTOWATCHNEW_REPOS into the Gitea config file,...

Cross package Node app for ARM using QEMU and Docker

Download 2020-08-20-raspios-buster-armhf-lite.zip from the official site Install required tools ``bash sudo pacman -S unzip util-linux docker ` Start Docker service `bash sudo systemctl start docker.service ` Add yourself into the docker group, otherwise permissions are needed...