Twenty deployment on podman
Does twentycrm support deployment with podman?
I see two possible approaches:
A: Use (or modify and use) the docker-compose.yml with podman-compose.
B: Manually build a podman pod containing each of the containers for twenty as specified in docker-compose.yml
What would be the recommended approach to running twenty under podman?
I am currently experimenting with both... And keep getting stuck various places....
My aim with this thread is to have a single place to document what works and what doesn't with regards to deploying twenty on podman as well as to hopefully get help from others who have actual experience witht his.
3 Replies
Here is my script for approach B so far:
For some reason the pod does not show up.
This is the podman container ps after running this:
Here are the last 6 lines of container logs for all the containers:
https://paste.yt/p28725.html (paste too big for discord)
I think this actually looks OK. But not sure why the pod never gets ready...
I think it actually is running OK afterall 😅
Will now go ahead and try to configure ingress
Additionally, I install this as a systemd service:
OK. I got the ingress set up (using nginx)
Basically just adding this site:
Get the certs from certbot/LE.
I now seem to have a working twenty.
So I guess the above might work as a HOWTO on how to set up twenty with podman.
Next step is to put this in a podman-compose.yml
Here is a working podman-compose.yml
GitHub
Added support for podman deployment by thomasdn · Pull Request #11...
Added files needed to deploy twenty on podman using podman-compose.
ty!