Docker Image for Rukovoditel

Ask your questions here.
Post Reply
noellarkin
Posts: 15
Joined: 27 Jan 2022, 18:34
Name: Noel Larkin
Location: USA New York

Docker Image for Rukovoditel

Post 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!
noellarkin
Posts: 15
Joined: 27 Jan 2022, 18:34
Name: Noel Larkin
Location: USA New York

Re: Docker Image for Rukovoditel

Post by noellarkin »

Bump. Is anyone here using Ruko+docker?
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Docker Image for Rukovoditel

Post by Didou12 »

sorry i don't use that.

What is for ?
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
noellarkin
Posts: 15
Joined: 27 Jan 2022, 18:34
Name: Noel Larkin
Location: USA New York

Re: Docker Image for Rukovoditel

Post 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.
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Docker Image for Rukovoditel

Post by Didou12 »

Ok i understand :) thanks for explanation
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
reinbeumer
Posts: 13
Joined: 08 Mar 2021, 02:58
Name: Rein Beumer
Location: Netherlands
Company Name: HuigHaverlag
Contact:

Re: Docker Image for Rukovoditel

Post 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 22 times
noellarkin
Posts: 15
Joined: 27 Jan 2022, 18:34
Name: Noel Larkin
Location: USA New York

Re: Docker Image for Rukovoditel

Post by noellarkin »

@reinbeumer thank you! will try this out!
Have you published this to DockerHub?
Post Reply