change docker bip to gateway

This commit is contained in:
m0duspwnens
2023-07-24 13:38:14 -04:00
parent 9bda01bd29
commit 00483018ca
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
docker:
range: '172.17.1.0/24'
bip: '172.17.1.1'
gateway: '172.17.1.1'
containers:
'so-dockerregistry':
final_octet: 20

View File

@@ -103,7 +103,7 @@ sos_docker_net:
docker_network.present:
- name: sobridge
- subnet: {{ DOCKER.range }}
- gateway: {{ DOCKER.bip.split("/")[0] }}
- gateway: {{ DOCKER.gateway }}
- options:
com.docker.network.bridge.name: 'sobridge'
com.docker.network.driver.mtu: '1500'

View File

@@ -1,6 +1,6 @@
docker:
bip:
description: Bind IP for the default docker interface.
gateway:
description: Gateway for the default docker interface.
helpLink: docker.html
advanced: True
range: