Updated logentries docker-compose.yml to use compose version 2 format.

This commit is contained in:
Nick Haynes 2017-08-21 03:46:32 -07:00
parent 2ef92160a0
commit 4bf85c9137

View File

@ -1,9 +1,11 @@
docker-logentries:
image: logentries/docker-logentries:0.2.1
command: ${logentries_command}
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
labels:
io.rancher.scheduler.global: "true"
io.rancher.container.hostname_override: container_name
version: '2'
services:
docker-logentries:
image: logentries/docker-logentries:0.2.1
command: ${logentries_command}
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
labels:
io.rancher.scheduler.global: "true"
io.rancher.container.hostname_override: container_name