Skip to content

Commit

Permalink
Explicitly set the subnet of the docker network
Browse files Browse the repository at this point in the history
We whitelist the 172.0.0.0/8 range to talk to any service in the nginx config. The docker-compose recent changes give the container an IP from 192.168.0.0/16 range which fails the healthchecks.
  • Loading branch information
aagrxyz committed May 16, 2020
1 parent 6cd301f commit 527ad21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ volumes:
- "in.devclub=configuration volume for deploy bot"
networks:
internal:
ipam:
config:
- subnet: 172.16.20.0/24

0 comments on commit 527ad21

Please sign in to comment.