Skip to content

phpmyadmin:fpm docker #425

Description

@sup3r93

HI,
I'm trying to install "phpmyadmin:fpm" I already have the two containers
Apache2: "apache2-container"
MySQL: "some-mysql"
How can I install phpmyadmin:fpm and link it to the two existing containers?

Activity

  1. williamdes commented on Aug 31, 2023

    @williamdes
    Member

    Hi, one of the real questions is why do you need the fpm variant if you use the apache2 one?

  2. sup3r93 commented on Sep 1, 2023

    @sup3r93
    Author

    Hi, one of the real questions is why do you need the fpm variant if you use the apache2 one?

    If I'm not mistaken in the "ubuntu/apache2" module, PHP is not included, or do you recommend installing it there?
    Because I had in mind to create these containers, tell me what you think:

    • apache2
    • php
    • MySQL
    • PhpMyAdmin
    • NextCloud (I put it in a separate container or I use the Apache2 one, I don't want to create a big one which then runs slowly)
    • Debian

    More than anything else I have the domain on Cloudflare with SSL (strick), so I need to connect the SSL certificate to the 443 connection, which I managed to do without problems on Apache2

  3. williamdes commented on Sep 2, 2023

    @williamdes
    Member

    If I'm not mistaken in the "ubuntu/apache2" module, PHP is not included, or do you recommend installing it there?
    Because I had in mind to create these containers, tell me what you think:

    PHP is included, you need nothing else than the Apache2 variant to have phpMyAdmin running.

    You should need:

    • MySQL or MariaDB
    • phpMyAdmin (apache2)
    • NextCloud (that's up to you and out of our scope)

    About the HTTPS/SSL you will need to custom the image as we do not support this out of the box for now: #414 (will help you with a working example)

  4. sup3r93 commented on Sep 3, 2023

    @sup3r93
    Author

    If I'm not mistaken in the "ubuntu/apache2" module, PHP is not included, or do you recommend installing it there?
    Because I had in mind to create these containers, tell me what you think:

    PHP is included, you need nothing else than the Apache2 variant to have phpMyAdmin running.

    You should need:

    • MySQL or MariaDB
    • phpMyAdmin (apache2)
    • NextCloud (that's up to you and out of our scope)

    About the HTTPS/SSL you will need to custom the image as we do not support this out of the box for now: #414 (will help you with a working example)

    ok, so I just install phpmyadmin through this command, and it connects itself to the apache2 container right? Can you confirm that the FPM version is fine?

    docker run --name phpmyadmin -d --link mysql_db_server:db -p 8080:80 phpmyadmin

  5. williamdes commented on Sep 21, 2023

    @williamdes
    Member

    ok, so I just install phpmyadmin through this command, and it connects itself to the apache2 container right? Can you confirm that the FPM version is fine?

    The fpm version is probably not what you want, the best is to stick to the apache2 one because everything is included.

    The Docker command with "links" only creates a network between nodes. The container does not connect itself to anything until you go to the login page on your web browser.
    It is the code inside the container that connects while you are browsing phpMyAdmin.

    Can you share your docker compose file?
    Or if you do not have one, the best for you is to use a Docker compose file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions