Skip to content

Commit

Permalink
Changes docker network size to valid for docker compose
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aseliverstov-pinely authored and jkuri committed Jan 31, 2024
1 parent d0f5a76 commit b28dd99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/demo/default/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ networks:
driver: bridge
ipam:
config:
- subnet: 10.20.20.0/16
- subnet: 10.20.20.0/24
2 changes: 1 addition & 1 deletion configs/testing/e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ networks:
driver: bridge
ipam:
config:
- subnet: 10.20.20.0/16
- subnet: 10.20.20.0/24
2 changes: 1 addition & 1 deletion configs/testing/e2e_postgres/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ networks:
driver: bridge
ipam:
config:
- subnet: 10.20.20.0/16
- subnet: 10.20.20.0/24

0 comments on commit b28dd99

Please sign in to comment.