How can I install phpmyadmin into espocrm Docker

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trungtvmso
    Member
    • Jun 2022
    • 70

    How can I install phpmyadmin into espocrm Docker

    I'm using EspoCRM Docker installed by script. I would like to ask also posts here my docker_compose.yml to get help from you guys.

    I'm new here also dont event know about the docker configuration. I'm trying to install phpmyadmin to manage my database.

    Here is my yml config, I dont know what I was wrong but I could not bring my phpmyadmin container online.

    Pls kindly help to correct my config.

    Thank you

    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    I don't think it's the right place to get an answer about the phpmyadmin container. Maybe provide more input. Any errors?
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • victor
      Active Community Member
      • Aug 2022
      • 727

      #3
      trungtvmso,

      You can take the part about phpMyadmin from my docker-compose.yaml. The file is fully functional (I'm using it now).
      Attached Files

      Comment

      • trungtvmso
        Member
        • Jun 2022
        • 70

        #4
        Originally posted by victor
        trungtvmso,

        You can take the part about phpMyadmin from my docker-compose.yaml. The file is fully functional (I'm using it now).
        thank you for sharing, do I need to config anything else for nginx to run this container, bro? I'm new on everything so that I'm very sorry if my question were stupid

        Comment

        • victor
          Active Community Member
          • Aug 2022
          • 727

          #5
          If you have everything working except phpMyAdmin, then just copy the part about espocrm-phpmyadmin into your docker-compose.yaml and specify the ports convenient for you:

          Click image for larger version

Name:	image.png
Views:	117
Size:	38.8 KB
ID:	104657

          Comment


          • victor
            victor commented
            Editing a comment
            - It's very important to stop all containers you have running via the "docker-compose down -v" command before editing docker-compose.yaml.
            - After that, make the changes I suggested in docker-compose.yaml and save the changes.
            - After saving the changes in docker-compose.yaml you need to build your container with "docker-compose up -d --build" or "docker-compose up -d --build "$@"".
        • trungtvmso
          Member
          • Jun 2022
          • 70

          #6
          Originally posted by victor
          If you have everything working except phpMyAdmin, then just copy the part about espocrm-phpmyadmin into your docker-compose.yaml and specify the ports convenient for you:

          Click image for larger version

Name:	image.png
Views:	117
Size:	38.8 KB
ID:	104657

          Thank you Victor, now I can access to phpmyadmin to control my database already.

          Thank you so much

          Comment

          • victor
            Active Community Member
            • Aug 2022
            • 727

            #7
            Originally posted by trungtvmso
            I can access to phpmyadmin to control my database already.
            Let's take my proposed docker-compose.yaml as an example, and that your server's IP is 192.168.1.50.
            So, to login to your instance you need to use http://192.168.1.50:8582/. And to login phpMyAdmin, you need to use http://192.168.1.6:8583/.​

            Also you can use http://localhost:8582/ for instance and http://localhost:8583/ for phpMyAdmin.​​
            Last edited by victor; 05-17-2024, 09:06 AM.

            Comment

            Working...