For various reasons you’ll want to do that. For me it was VLC locking up when watching IPTV from a DVB>IP hardware with v3.0.21. And with v3.0.20 it would have extremely high CPU usage which went away when recompiling. Only on Archlinux. Something in their process is funky. Anyhow let’s go. First, enable optimizations for…
Read Articletinode: what a waste of time
This software is not nearly production ready. Spent the whole days constantly battling with bugs, inconsistencies. In the end I give up. I can’t recommend this software at all. #tinode #im #opensource #donotuse
Read Articleminio single node single disk docker compose with letsencrypt tls
How to have a single node minio instance, with docker compose, and auto updating letencrypt certificate. Prerequisite: A way to obtain a cert for your domain via certbot. The certs should already exist and be able to be renewed. 1st create the docker minio directories.
|
1 2 |
mkdir -p /docker/minio/data mkdir -p /docker/minio/certs |
/docker/minio/compose.yaml
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
name: minio services: minio: ports: - 9000:9000 - 9001:9001 container_name: minio volumes: - /docker/minio/data:/data - /docker/minio/certs:/root/.minio/certs environment: - MINIO_ROOT_USER=rootuser - MINIO_ROOT_PASSWORD=rootpassword image: quay.io/minio/minio command: server /data --console-address ":9001" |
/etc/letsencrypt/renewal-hooks/deploy/copy-certs.sh
|
1 2 3 4 5 6 7 8 9 10 |
#!/bin/bash TARGET_HOME=/docker/minio TARGET_DOMAIN=domain.tld if [[ $RENEWED_DOMAINS == *" $TARGET_DOMAIN "* ]]; then cp -L /etc/letsencrypt/live/$TARGET_DOMAIN/* $TARGET_HOME/certs/ cd $TARGET_HOME docker compose up -d fi |
And finally start it
|
1 2 3 4 5 6 7 |
chmod +x /etc/letsencrypt/renewal-hooks/deploy/copy-certs.sh cd /docker/minio/certs cp -L /etc/letsencrypt/live/domain.tld/* /docker/minio/certs/ ln -s fullchain.pem public.crt ln -s privkey.pem private.key cd .. docker compose up -d |
Compiling gitlab.com/mattwb65/srt-live-server error solution
If you’re having this issue with building https://gitlab.com/mattwb65/srt-live-server.git
Read ArticleHow to package your SPA or PWA without a Dockerfile using Go and ko
Writing Dockerfiles is a pain in the ass. All you want to do is publish your SPA or PWA dist files in a docker container and maybe even push it to a private registry. Instead of having to write a Dockerfile, pull some base OS, increase the size of the container image, add potential attack…
Read Article