Page 1 of 1

Docker Image for Rukovoditel

Posted: 17 Jul 2023, 13:47
by noellarkin
Would it be possible for someone to share a working and currently maintained Docker compose or Docker hub link for Rukovoditel? I've been unable to find one (the one on Dockerhub seems pretty old).
Thanks!

Re: Docker Image for Rukovoditel

Posted: 27 Jul 2023, 10:49
by noellarkin
Bump. Is anyone here using Ruko+docker?

Re: Docker Image for Rukovoditel

Posted: 27 Jul 2023, 20:59
by Didou12
sorry i don't use that.

What is for ?

Re: Docker Image for Rukovoditel

Posted: 05 Aug 2023, 13:55
by noellarkin
Docker is a containerization technology, that allows you to separate and isolate the different self-hosted applications you're using. Great for security. I use it for everything I self-host.
Rukovoditel does have a docker image (unofficial) but it's pretty old:
https://hub.docker.com/r/filipmil/rukovoditel

Here's a topic mentioning Docker for Ruko:
viewtopic.php?f=5&t=3293
but it's from 2021 and the Ruko version is 2.9.

I was curious if Sergey could make an official Docker.

Re: Docker Image for Rukovoditel

Posted: 05 Aug 2023, 18:41
by Didou12
Ok i understand :) thanks for explanation

Re: Docker Image for Rukovoditel

Posted: 08 Aug 2023, 02:33
by reinbeumer
Ive got one for you.
This is a 3 part docker
1 mysql
2 php (for Ruko)
3 php MyAdmin

This is handy for debugging and changing the files on the Ruko instance (add extensions, delete the install)

I wanted the phpMyAdmin running with the same version as the Ruko one, so I cloned the docker file from the phpMyAdmin.

All you have to do is download Ruko 3.4.2 and unzip this in the app folder.
The mysql is running under the docker service name "db" and not localhost.
The database name is "ruko_db_34" (see build -> mysql -> scripts -> init.sql)
The root admin pass is "wo9ungohNie9up7e" (see docker-compose.yml)

If you want to run another version, create another db (with phpMyAdmin), unzip another Ruko in the app folder and change the docker-compose.yml to point to the new Ruko source or add another with another external port.

Oh, the command for build and running is:
docker compose up (With a space and not an underscore "docker_compose")

If you want to run a production one behind a reverse proxy (nginx) and ssl enabled via the certbot from LetsEncrypt, you have to change the server.php in the Ruko config from "define('ENABLE_SSL', false);" to "define('ENABLE_SSL', true);"
And for local development you have to switch this back.
RukoOnDocker.zip
(19.29 KiB) Downloaded 30 times

Re: Docker Image for Rukovoditel

Posted: 25 Aug 2023, 12:47
by noellarkin
@reinbeumer thank you! will try this out!
Have you published this to DockerHub?