Good day everybody!
I've setup Espo from official docker image (via docker-compose, replacing MySQL with Maria though)
I'm managing my hosts with NPM, which is located on the same bridged network as the Espo stack.
External network conf. looks like this
https://espodomain.com -> Router NAT with 80/443 port forwarding to NPM external network ip -> NPM -> espo container bridge network ip
NPM handles SSL for me, I've attached the configuration screenshots
The issue that I'm currently facing is I don't quite understand how to get websockets to work.
I understand that I need to change espocrm-websocket container env. variable from "ws" to "wss" so that chrome does not block it.
But what kind of ip address should I input there is the part where I'm lost.
localhost, container bridge network IP, external IP - all resolve to "failed to connect"
Also I'm having doubts about the default 8080 websocket port, but I have no idea how to go about changing it.
All of the containers are within 192.168.122.* macvlan subnet
If needed any container can be port forwarded from the router directly bypassing NPM (except the 80 port of main espocrm container)
I've setup Espo from official docker image (via docker-compose, replacing MySQL with Maria though)
I'm managing my hosts with NPM, which is located on the same bridged network as the Espo stack.
External network conf. looks like this
https://espodomain.com -> Router NAT with 80/443 port forwarding to NPM external network ip -> NPM -> espo container bridge network ip
NPM handles SSL for me, I've attached the configuration screenshots
The issue that I'm currently facing is I don't quite understand how to get websockets to work.
I understand that I need to change espocrm-websocket container env. variable from "ws" to "wss" so that chrome does not block it.
But what kind of ip address should I input there is the part where I'm lost.
localhost, container bridge network IP, external IP - all resolve to "failed to connect"
Also I'm having doubts about the default 8080 websocket port, but I have no idea how to go about changing it.
All of the containers are within 192.168.122.* macvlan subnet
If needed any container can be port forwarded from the router directly bypassing NPM (except the 80 port of main espocrm container)
Comment