Skip to content

Instantly share code, notes, and snippets.

@turbo
Created November 12, 2018 10:55
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 turbo/df6f5916fdd6313eb3dff3e04ffc8f88 to your computer and use it in GitHub Desktop.
Save turbo/df6f5916fdd6313eb3dff3e04ffc8f88 to your computer and use it in GitHub Desktop.
version: "3.6"
x-influxlog: &influxlog
logging:
driver: syslog
options:
syslog-address: "udp://localhost:514"
tag: "{{.Name}}"
volumes:
postgres-data:
external: true
services:
postgres:
image: postgres
<<: *influxlog
volumes:
- postgres-data:/var/lib/postgresql/data
redis:
image: redis:alpine
<<: *influxlog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment