Skip to content

Instantly share code, notes, and snippets.

@jerrythomas
Created July 7, 2019 10:36
Show Gist options
  • Save jerrythomas/c476e570976608e8de3c184a9792c1dd to your computer and use it in GitHub Desktop.
Save jerrythomas/c476e570976608e8de3c184a9792c1dd to your computer and use it in GitHub Desktop.
volumes:
s3data:
driver: local
services:
s3vol:
image: elementar/s3-volume
command: /data s3://{BUCKET NAME}
environment:
- BACKUP_INTERVAL={INTERVALL IN MINUTES (2m)}
- AWS_ACCESS_KEY_ID={KEY}
- AWS_SECRET_ACCESS_KEY={SECRET}
volumes:
- s3data:/data
linux:
image: web-dev
volumes:
- s3data:/images
api:
Image: api-
feed:
image: feeds-
sub1-:
image: cron-01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment