Skip to content

Commit b28dd99

Browse files
aseliverstov-pinelyjkuri
authored andcommitted
Changes docker network size to valid for docker compose
Docker compose plugin can't start using these configs because the network 10.20.20.0/16 is invalid and it expects either 10.20.0.0/16 or 10.20.20.0/24. Since we're using only three addresses and change only 4th octet, it's more viable to change the network to /24. Relevant issue: #602
1 parent d0f5a76 commit b28dd99

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

configs/demo/default/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ networks:
6767
driver: bridge
6868
ipam:
6969
config:
70-
- subnet: 10.20.20.0/16
70+
- subnet: 10.20.20.0/24

configs/testing/e2e/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ networks:
9292
driver: bridge
9393
ipam:
9494
config:
95-
- subnet: 10.20.20.0/16
95+
- subnet: 10.20.20.0/24

configs/testing/e2e_postgres/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ networks:
9696
driver: bridge
9797
ipam:
9898
config:
99-
- subnet: 10.20.20.0/16
99+
- subnet: 10.20.20.0/24

0 commit comments

Comments
 (0)