These are internal network ports. The external port is linked to the nginx container, which is failing to start. Probably due to cert issues. Look at your error log in ./bwdata/logs/nginx
Indeed /root/bwdata/logs/nginx/error.log has following error.
[root@fedora01 nginx]# tail error.log
2018/07/11 23:23:31 [emerg] 1#1: BIO_new_file("/etc/ssl/self/./bitwarden.sh/certificate.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/ssl/self/./bitwarden.sh/certificate.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2018/07/12 00:18:08 [warn] 1#1: server name "./bitwarden.sh" has suspicious symbols in /etc/nginx/conf.d/default.conf:13
2018/07/12 00:18:08 [warn] 1#1: server name "./bitwarden.sh" has suspicious symbols in /etc/nginx/conf.d/default.conf:20
2018/07/12 00:18:08 [emerg] 1#1: BIO_new_file("/etc/ssl/self/./bitwarden.sh/certificate.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/ssl/self/./bitwarden.sh/certificate.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2018/07/12 02:07:22 [warn] 1#1: server name "./bitwarden.sh" has suspicious symbols in /etc/nginx/conf.d/default.conf:13
2018/07/12 02:07:22 [warn] 1#1: server name "./bitwarden.sh" has suspicious symbols in /etc/nginx/conf.d/default.conf:20
2018/07/12 02:07:22 [emerg] 1#1: BIO_new_file("/etc/ssl/self/./bitwarden.sh/certificate.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/ssl/self/./bitwarden.sh/certificate.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2018/07/12 05:45:50 [warn] 1#1: server name "./bitwarden.sh" has suspicious symbols in /etc/nginx/conf.d/default.conf:13
2018/07/12 05:45:50 [warn] 1#1: server name "./bitwarden.sh" has suspicious symbols in /etc/nginx/conf.d/default.conf:20
2018/07/12 05:45:50 [emerg] 1#1: BIO_new_file("/etc/ssl/self/./bitwarden.sh/certificate.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/ssl/self/./bitwarden.sh/certificate.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
[root@fedora01 nginx]#
@FoxBJK
I am sorry, I lost my centos 7 B.W test VM and I don’t remember the solution.
I have my google doc created and I will repeat the steps in my note to create the VM later.
After a lot of toil, I figured out the issue. I was completely confused about the “volume” syntax in docker, and was putting the certs in a place that the docker had no clue how to find. Moved the certs and all’s good now.