Merge pull request #1286 from exoscale/fix/exoscale-swarm-firewall

exoscale: add the appropriate port to make Swarm work
This commit is contained in:
Evan Hazlett 2015-06-02 09:13:27 -04:00
commit 5e958d0914
2 changed files with 7 additions and 1 deletions

View File

@ -1172,7 +1172,7 @@ Options:
- `--exoscale-security-group`: Security group. It will be created if it doesn't exist.
- `--exoscale-availability-zone`: exoscale availability zone.
If a custom security group is provided, you need to ensure that you allow TCP ports 22 and 2376 in an ingress rule.
If a custom security group is provided, you need to ensure that you allow TCP ports 22 and 2376 in an ingress rule. Moreover, if you want to use Swarm, also add TCP port 3376.
Environment variables and default values:

View File

@ -261,6 +261,12 @@ func (d *Driver) Create() error {
Protocol: "TCP",
Port: 2376,
},
{
SecurityGroupId: "",
Cidr: "0.0.0.0/0",
Protocol: "TCP",
Port: 3376,
},
{
SecurityGroupId: "",
Cidr: "0.0.0.0/0",