Update docker network web to use wider subnet and restricted DHCP pool
Some checks are pending
Deploy to Fighter / Deploy (push) Waiting to run
Deploy to Fighter / Notify (push) Waiting to run

This commit is contained in:
Joey Hafner 2024-03-30 17:53:19 -07:00
parent 6ece311c24
commit 494152be66
2 changed files with 6 additions and 1 deletions

View 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.

View File

@ -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