Skip to content

Instantly share code, notes, and snippets.

@zedtux
Created March 10, 2018 10:53
Show Gist options
  • Save zedtux/8eee37a95fb910567ad27fa38dd09b27 to your computer and use it in GitHub Desktop.
Save zedtux/8eee37a95fb910567ad27fa38dd09b27 to your computer and use it in GitHub Desktop.
Docker Cloud stack extract allowing to backup each nights a PostgreSQL DB
pg-dump2swift:
environment:
- OS_CONTAINER_NAME=app-production-db-backups
- OS_PASSWORD=<mot de passe swift>
- OS_REGION=<region>
- OS_TENANT_NAME=<numéro de tenant swift>
- OS_USERNAME=<nom d'utilisateur swift>
- PGDATABASE=app_production
image: 'yourcursus/docker-pg_dump-to-swift:9.5'
links:
- postgres
tags:
- production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment