https with docker
Hello, I am using lpar2rrd in form of a docker. It works fine. But in "legacy" approach (sepparate installation of apache etc) there was an option of enabling https in apache (mod_ssl).
How can I achieve the same with docker? I dont see port 443 being exposed by image:
"ExposedPorts": {
"80/tcp": {},
"8162/tcp": {}
},
But according to manual Docker Monitoring (lpar2rrd.com) you are forwarding 443/tcp and even 22/tcp port.
I have my own cert, key and ca file. Could you pease advize?
Comments
-
Hello,
there is no SSH server running in container as you can easily get command line access via
docker exec
. So we don't need to expose port 22.Regarding HTTPS: it should work in docker version as there is Apache running inside the container, but we don't support it yet. You can use docker host as HTTPS proxy with your certificates and forward requests to container port 80.
We can try to modify Dockerfile to use .env file with configuration and mounted certificates, but it's not priority now.
Howdy, Stranger!
Categories
- 1.5K All Categories
- 24 XORMON NG
- 25 XORMON
- 139 LPAR2RRD
- 12 VMware
- 14 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 118 STOR2RRD
- 18 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 11 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle