Skip to content

Commit

Permalink
Setting default network to avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
arykalin committed Nov 6, 2018
1 parent ea330a7 commit f26892f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ services:
# - ./bin:/vault_plugin
# - ./Makefile:/Makefile
entrypoint: /tools/wait-for-it.sh -t 20 -h consul -p 8500 -s -- vault server -config=/config/vault-config-with-consul.hcl -log-level=debug
#TODO: this is a workaround to avoid internal network conflict, need to find a better solution when netwrok will not be in docker-compose file.
networks:
default:
ipam:
driver: default
config:
- subnet: "10.84.0.1/24"

0 comments on commit f26892f

Please sign in to comment.