For correct work of Hive, it is necessary to open ports 80
and 443
using your network equipment or the Load Balancer of your cloud provider, f.e. Elastic Load Balancing (AWS) or Google Cloud Load Balancing (GCE).
Additionally, you may need to open all ports you use:
To change default Hive ports:
Open the /opt/hw-bw/config/user.ini
file using the command:
sudo nano /opt/hw-bw/config/user.ini
Add the following parameters to the file, and specify new IP and port, f.e.:
for HTTP ports:
[main]
b.deck.ip.expose = 127.0.0.0
b.deck.port.expose = 10001
for HTTPS ports:
[main]
b.deck.https.ip.expose = 0.0.0.0
b.deck.https.port.expose = 443
/opt/hw-bw/config/user.ini
file;To apply changes, run the command:
/opt/hw-bw/bin/reconfig
The following settings are required, when Hive and Apiary are running on the same machine, and you want to create connection between Hive and Apiary projects without SSL.
To configure Apiary, go to the Apiary Help Center > Connection settings.
In Hive proceed with the following:
Create your own docker network by running the command:
docker network create -d bridge <NETWORK_NAME>
'bridge'
already created and use its name for the connection:docker network ls --filter driver=bridge
/opt/hw-bw/config/user.ini
(root privileges required);Add the following lines to the [main]
section:
host.container.network.common.name = <NETWORK_NAME>
host.container.network.common.type = external
/opt/hw-bw/config/user.ini
file;To apply changes, run the command:
/opt/hw-bw/bin/reconfig