Include phpMyAdmin in Octojoom? #15

Closed
opened 2025-03-21 21:41:37 +00:00 by cpaschen · 2 comments

Not to add too many wishlist items, but it would be helpful to have phpMyAdmin available via Octojoom (and the Joomla images).

Or just the ability to run phpMyAdmin locally and have the port exposed on the container so that we can access the container's db via whatever db tool desired (probably better).

If I missed how to do this (ie. exposing the db port) let me know.

Not to add too many wishlist items, but it would be helpful to have phpMyAdmin available via Octojoom (and the Joomla images). Or just the ability to run phpMyAdmin locally and have the port exposed on the container so that we can access the container's db via whatever db tool desired (probably better). If I missed how to do this (ie. exposing the db port) let me know.
Owner

it is already... check the docker_composer.yml file... that OctoJoom is writing.

To get To these files:
First make sure you have expert mode on, this take two steps:

Start OctoJoom

octojoom

Open OctoJoom Settings:

image.png

Switch to expert mode:

image.png

Now go back:

image.png

Now Select Joomla Containers:

image.png

Now select Edit available container:

image.png

Now select a container: (with the space bar)

image.png

You will see the phpMyAdmin details, and its url:

image.png

You can edit these settings at any time to your hearts desire:

image.png

To save and close the file [ctrl-x]

image.png

You can next check you host file to see if that url is added there correctly:

sudo nano /etc/hosts

You should see a line like this (using my file as the example)

image.png

To save and close the file [ctrl-x]

If setup correctly OctoJoom will add these domains automatically to your host file, so you can just open them in the browser without any extra afford.

To insure that the domain is added to your host file automatically, open OctoJoom again:

octojoom

Go to the OctoJoom Settings:

image.png

Edit Config:

image.png

Read instructions:

image.png

Make sure the config has this line:

VDM_UPDATE_HOST=true

Set it to true, should it be false, and now each time you create a new container OctoJoom will automatically add it to you host file.

If you are running OctoJoom in production, on a external server, then you simply need to aim (update the domain DNS) those domains to that server, and Traefik will do the rest, it is taking care of all the ports and stuff...

So be sure that Traefik is up and running:

image.png

Select Enable Traefik, even if its already running it will make sure its running:

image.png

When you close OctoJoom, you should see this kind of result:

image.png

You can also check with the Docker command that Traefik is running:

docker ps

Then you should see:
image.png

it is already... check the `docker_composer.yml` file... that [OctoJoom](https://git.vdm.dev/octoleo/octojoom) is writing. To get To these files: First make sure you have expert mode on, this take two steps: Start OctoJoom ```bash octojoom ``` > Open OctoJoom Settings: ![image.png](https://git.vdm.dev/attachments/55e4c508-7ded-4725-884a-440a5c5cb51e) > Switch to expert mode: ![image.png](https://git.vdm.dev/attachments/6041ffce-4ffd-47a8-bb56-fc07f96d61ff) > Now go back: ![image.png](https://git.vdm.dev/attachments/43894bd5-b3f8-4596-b963-550c30b539c2) > Now Select Joomla Containers: ![image.png](https://git.vdm.dev/attachments/30bad78a-fde9-4017-8790-f7061a7d7e39) > Now select Edit available container: ![image.png](https://git.vdm.dev/attachments/e478ef9a-202e-449a-8574-823aa107ca84) > Now select a container: (with the space bar) ![image.png](https://git.vdm.dev/attachments/f668b949-bbc1-42f9-a8f2-7f3f1585b326) > You will see the `phpMyAdmin` details, and its url: ![image.png](https://git.vdm.dev/attachments/44bc27d4-a22e-484b-bccd-81b6c2c280e2) > You can edit these settings at any time to your hearts desire: ![image.png](https://git.vdm.dev/attachments/a2ea3cfe-e40a-4a94-ae73-c1fd01e56f9c) > To save and close the file [ctrl-x] ![image.png](https://git.vdm.dev/attachments/d35ceac3-a383-412f-a133-bcb3b8c721a8) You can next check you host file to see if that url is added there correctly: ```bash sudo nano /etc/hosts ``` You should see a line like this (using my file as the example) ![image.png](https://git.vdm.dev/attachments/d4766c68-f47b-4bc0-8ecd-ef85ac80052c) > To save and close the file [ctrl-x] If setup correctly OctoJoom will add these domains automatically to your host file, so you can just open them in the browser without any extra afford. To insure that the domain is added to your host file automatically, open OctoJoom again: ```bash octojoom ``` > Go to the OctoJoom Settings: ![image.png](https://git.vdm.dev/attachments/55e4c508-7ded-4725-884a-440a5c5cb51e) > Edit Config: ![image.png](https://git.vdm.dev/attachments/218d586c-9d1e-454e-b468-75eef784e702) > Read instructions: ![image.png](https://git.vdm.dev/attachments/20a0bb62-70b8-4eb8-b65c-171a91f2c8a4) > Make sure the config has this line: ```bash VDM_UPDATE_HOST=true ``` Set it to true, should it be false, and now each time you create a new container OctoJoom will automatically add it to you host file. If you are running OctoJoom in production, on a external server, then you simply need to aim (update the domain DNS) those domains to that server, and Traefik will do the rest, it is taking care of all the ports and stuff... > So be sure that Traefik is up and running: ![image.png](https://git.vdm.dev/attachments/1e3a020c-5749-4610-9a43-a7708f8202b8) > Select Enable Traefik, even if its already running it will make sure its running: ![image.png](https://git.vdm.dev/attachments/57dbc117-f965-44d1-aa9b-5b026728e65e) > When you close OctoJoom, you should see this kind of result: ![image.png](https://git.vdm.dev/attachments/14e11e0b-d4af-41f8-8aea-8b90e4897a58) You can also check with the Docker command that `Traefik` is running: ```bash docker ps ``` Then you should see: ![image.png](https://git.vdm.dev/attachments/bb38fa85-93c4-48c3-b575-b66d30b3d9a4)
Author

Thanks. Just getting back to this after some health issues.
The images didn't come through, but the instructions worked perfectly.

Thanks. Just getting back to this after some health issues. The images didn't come through, but the instructions worked perfectly.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: octoleo/octojoom#15
No description provided.