Member
Member
ciakval   14-01-2025, 20:00
#1

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 :-)

Administrator
Administrator
acrylian   14-01-2025, 20:05
#2

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.

Member
Member
ciakval   14-01-2025, 20:25
#3

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.

Administrator
Administrator
acrylian   14-01-2025, 20:27
#4

Alright ;-)

Administrator
Administrator
acrylian   14-01-2025, 20:28
#5

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

Member
Member
ciakval   14-01-2025, 22:10
#6

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

Member
Member
ciakval   14-01-2025, 22:29
#7

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.

Administrator
Administrator
acrylian   15-01-2025, 09:45
#8

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.