Update docker network web
to use wider subnet and restricted DHCP pool
This commit is contained in:
parent
f7431ef0e4
commit
27f1a0251f
5
homelab/fighter/config/traefik/README.md
Normal file
5
homelab/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"
|
||||
networks:
|
||||
web:
|
||||
ipv4_address: 172.18.0.27
|
||||
ipv4_address: 172.20.0.10
|
||||
monitoring:
|
||||
ports:
|
||||
- 80:80
|
||||
|
Loading…
Reference in New Issue
Block a user