Created
March 10, 2018 10:53
-
-
Save zedtux/8eee37a95fb910567ad27fa38dd09b27 to your computer and use it in GitHub Desktop.
Docker Cloud stack extract allowing to backup each nights a PostgreSQL DB
This file contains 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
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