Created
June 11, 2016 13:59
-
-
Save skitazaki/42c5a0031fbd1a22e28abede2f41f104 to your computer and use it in GitHub Desktop.
web server to throw logs for S3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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