Fix typo on consul data volume (#183)
* Update docker-compose.yml * Host type networking can't be used with links
This commit is contained in:
parent
1c946b24af
commit
8cd41661a7
@ -8,7 +8,7 @@ consul-registrator:
|
||||
tty: true
|
||||
restart: always
|
||||
command:
|
||||
- consul://localhost:8500
|
||||
- consul://consul:8500
|
||||
log_opt: {}
|
||||
image: gliderlabs/registrator:v7
|
||||
links:
|
||||
@ -16,7 +16,6 @@ consul-registrator:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock
|
||||
stdin_open: true
|
||||
net: host
|
||||
consul:
|
||||
ports:
|
||||
- 8300:8300/tcp
|
||||
|
Loading…
x
Reference in New Issue
Block a user