Get the most out of your Centmin Mod LEMP stack
Become a Member

Running Docker Container on Same Port 80 443 as Nginx?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Michael W, Dec 2, 2018.

Tags:
  1. Michael W

    Michael W New Member

    8
    1
    3
    Nov 12, 2018
    Ratings:
    +3
    Local Time:
    2:13 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.15.6
    • PHP Version Installed: 7.2.9

    I've been testing Centminmod and it's been great. Really loving it so far!

    I wanted to install bitwarden on the same server, and it seems bitwarden is in a docker container. I'm still a newb so any help would be appreciated. I got bitwarden's container to run, but I had to change the port to 8443 (i have ssl enabled). Can I have the bitwarden container use port 443 as well? (Nginx is currently using it)

    TIA
     
  2. eva2000

    eva2000 Administrator Staff Member

    37,227
    8,133
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,521
    Local Time:
    5:13 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    only one service can use a particular port at time. You will need to run docker contain mapping the local port to a different port when you launch the docker container.
     
..