Tag: docker

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:fo…

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 userm…

Why to use labels in docker-compose

Recently I had faced an apparently easy to solve problem that however became little bit trickier in the end. Imagine an application that connects to the database. Nothing super special fancy here. The docker-compose.yml file could for instance look something like this: # # versi…