Update docker network web
to use wider subnet and restricted DHCP pool
This commit is contained in:
parent
6ece311c24
commit
494152be66
5
fighter/config/traefik/README.md
Normal file
5
fighter/config/traefik/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
### The `web` Network
|
||||||
|
|
||||||
|
Created with `docker network create --driver=bridge --subnet=172.20.0.0/23 --ip-range=172.20.1.0/24 web`
|
||||||
|
|
||||||
|
Previous version was naive, and had a subnet equal in size to the IP range. This meant that we would occasionally encounter address colisions between services which needed static IPs, and those handed IPs automatically.
|
@ -7,7 +7,7 @@ services:
|
|||||||
restart: "no"
|
restart: "no"
|
||||||
networks:
|
networks:
|
||||||
web:
|
web:
|
||||||
ipv4_address: 172.18.0.27
|
ipv4_address: 172.20.0.10
|
||||||
monitoring:
|
monitoring:
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
Loading…
Reference in New Issue
Block a user