Caddy with podman container and a pod

Hello. I have a server instance on Oracle Cloud with 4 CPU and 8 RAM. So far it is running a one static website with Caddy.

What I want is to have one container running the website using Caddy. And the second is a pod for Next Cloud with three containers. Next Cloud, mariadb and Caddy.

In other words. I need to have a way to coexist what I mentioned on one server and configure Caddyfile to do so.

Please advise me and thank you.

Could you share your current Caddy configuration? It’ll be easier to help if we can see what you’ve tried so far. Also, have you checked the forum? There are plenty of examples on how to use Caddy with NextCloud, as well as MySQL or MariaDB.

I believe you didn’t get my question. But before that, I already found a guide on how to use Caddy with next cloud and mariadb. I didn’t try it yet, but I don’t think I will be having a problem with it.

My request is about having a both my static website and the nextcloud both on one server. Again, the website will be in a container and the nextcloud will be in a collection of containers (pod)

You already have Caddy serving your static website, so you can definitely add another virtual host to your Caddy configuration for Nextcloud and reverse proxy it to the Nextcloud container.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.