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
|
tty: true
|
||||||
restart: always
|
restart: always
|
||||||
command:
|
command:
|
||||||
- consul://localhost:8500
|
- consul://consul:8500
|
||||||
log_opt: {}
|
log_opt: {}
|
||||||
image: gliderlabs/registrator:v7
|
image: gliderlabs/registrator:v7
|
||||||
links:
|
links:
|
||||||
@ -16,7 +16,6 @@ consul-registrator:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock
|
- /var/run/docker.sock:/tmp/docker.sock
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
net: host
|
|
||||||
consul:
|
consul:
|
||||||
ports:
|
ports:
|
||||||
- 8300:8300/tcp
|
- 8300:8300/tcp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user