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: After clicking the blue Enable button, instead of a success, the error The database user does not have…

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.dev.cer": BIO_new_file() failed (SSL: error:02001002:system library:fop…

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 AUTO_WATCH_NEW_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 sudo pacman -S unzip util-linux docker Start Docker service sudo systemctl start docker.service Add yourself into the docker group, otherwise permissions are needed sudo usermod …