Second Docker Container with nginx for Wordpress site ?

  • Pi4, OMV6
    OS on SD

    Data on SSD


    I have an existing Docker container installed, which I use for work data processes. Critical that this is not affected in any way.


    The Pi / OMV NAS is on our home LAN, and each family member has access to their own individual Shared Folder.


    My son wants to learn how to setup a web site using Wordpress.


    Instead of hosting an online domain for the test site, is it possible to create another Container, also running nginx ( I assume it will be different port numbers ) so he can learn to setup a Wordpress site ?

    I believe that a Database is also needed for wordpress. Would this need mySQL installed ?


    Would the mySQL/ database be in the same container, or is there some other way to configure this ?


    Any pointers to creating the Container would also be appreciated.

    • Offizieller Beitrag

    is it possible to create another Container, also running nginx ( I assume it will be different port numbers ) so he can learn to setup a Wordpress site ?

    Yes. I have had dozens of nginx containers on one machine.


    Would this need mySQL installed ?

    Installed? No. In another container? yes.


    Would the mySQL/ database be in the same container, or is there some other way to configure this ?

    mysql is a database. I assume you meant nginx. You would not run nginx and mysql in the same container. They could be in the same docker compose file.


    I just added a wordpress example to the compose plugin.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!