

7·
11 months agoHi, i believe this is where https://groups.google.com/g/django-developers/c/C_Phs05kL1Q
Hi, i believe this is where https://groups.google.com/g/django-developers/c/C_Phs05kL1Q
They’ve explained why
Ah good to know, shame it’s been left by the wayside a bit. Was super useful in the early days
Seems similar to the work done by https://sub.rehab
Ive actually been personally moving away from kubernetes for this kind of deployment and I am a big fan of using ansible to deploy containers using podman systemd units, you have a series of systemd .container files like the one below
[Unit] Description=Loki [Container] Image=docker.io/grafana/loki:3.4.1 # Use volume and network defined below Volume=/mnt/loki-config:/mnt/config Volume=loki-tmp:/tmp/loki PublishPort=3100:3100 AutoUpdate=registry [Service] Restart=always TimeoutStartSec=900 [Install] # Start by default on boot WantedBy=multi-user.target default.target
You use ansible to write these into your /etc/containers/systemd/ folder. Example the file above gets written as /etc/containers/systemd/loki.container.
Your ansible script will then call
systemctl daemon-reload
and then you cansystemctl start loki
to finish the example