Skip to content

Instantly share code, notes, and snippets.

@skitazaki
Created June 11, 2016 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skitazaki/42c5a0031fbd1a22e28abede2f41f104 to your computer and use it in GitHub Desktop.
Save skitazaki/42c5a0031fbd1a22e28abede2f41f104 to your computer and use it in GitHub Desktop.
web server to throw logs for S3
version: '2'
services:
web:
image: nginx:1.10
ports:
- "80:80"
- "443:443"
volumes:
- /opt/nginx/html:/usr/share/nginx/html
logspout:
image: gliderlabs/logspout
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: "syslog://syslog:5140"
privileged: true
environment:
- SYSLOG_FORMAT=rfc3164
depends_on:
- syslog
s3put:
build: s3
syslog:
build: syslog
depends_on:
- s3put
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment