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.

    • New
    • Official Post

    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.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!