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.