ZenphotoCMS Forum
Docker support - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Docker support (/thread-14027.html)



Docker support - ciakval - 14-01-2025

Hi all,

I wanted to run Zenphoto CMS in a Docker container and found the old Docker support lacking. So I put together a Dockerfile for a container with Zenphoto and a docker-compose.yml for a two-container setup with Zenphoto and MariaDB, you can find it here: https://github.com/ciakval/docker-zenphoto

There is currently zero documentation, but the container seems to work:

  • use docker compose build && docker compose up to get them to run
  • access Zenphoto at http://localhost:8000/zenphoto
  • go through the initial setup, etc.

If anyone is interested, please go ahead and use it, give me feedback and/or come up with your own improvements :-)




Docker support - acrylian - 14-01-2025

If you intend to support that from now on we gladly update the entry on https://www.zenphoto.org/news/docker-zenphoto/ with your repo link respectively add a 2nd entry.




Docker support - ciakval - 14-01-2025

I'm not making promises :-) but I'll try to keep it up to date and supported for now.

Please add my repo as 2nd entry, thanks.




Docker support - acrylian - 14-01-2025

Alright ;-)




Docker support - acrylian - 14-01-2025

PS: Correct writing of our name is Zenphoto or also ZenphotoCMS ;-)




Docker support - ciakval - 14-01-2025

Oh, right, thanks for letting me know, I'll fix that in the repository.




Docker support - ciakval - 14-01-2025

For those who would prefer to run one container with Zenphoto and database (this is what @emieza did in the original Docker support, my version has two containers), I have managed to update his repository to the current OS and Zenphoto version (see https://github.com/ciakval/docker-zenphoto-single).

I've sent him a Pull Request, maybe he picks it up. If he doesn't, I might maintain both versions for a while and see what people are interested in more.




Docker support - acrylian - 15-01-2025

Okay, I have already create an entry for your version: https://www.zenphoto.org/news/zenphoto-cms-docker-support/