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 Articlek8s delete pv or pvc first?
Short answer: Delete the pvc, then the pv. From k8s v1.31 on if the external-csi-provisioner is installed (which it is with rook ceph) and the reclaim policy is Delete, if you delete the pvc, the pv is automatically deleted #k8s #pv #pvc
Read Article