Skip to content

Instantly share code, notes, and snippets.

@wheelq
Created June 22, 2020 13:08
Show Gist options
  • Save wheelq/d00ae82592404c15053b8a4718d828b7 to your computer and use it in GitHub Desktop.
Save wheelq/d00ae82592404c15053b8a4718d828b7 to your computer and use it in GitHub Desktop.
Logio in docker
version: '3'
services:
logs:
image: gerchardon/docker-logio
links:
- logio:logio
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: -h logio -n docker
privileged: true
deploy:
restart_policy:
condition: any
delay: 30s
max_attempts: 10
window: 60s
logio:
image: temal/logio-server
volumes:
- ${PWD}/config:/home/logio/.log.io
ports:
- 28777:28777
- 28778:28778
deploy:
restart_policy:
condition: any
delay: 30s
max_attempts: 10
window: 60s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment