Skip to content

Instantly share code, notes, and snippets.

@zedtux
Created March 10, 2018 10:56
Show Gist options
  • Save zedtux/49c12dda4be31a3c46496124815049bf to your computer and use it in GitHub Desktop.
Save zedtux/49c12dda4be31a3c46496124815049bf to your computer and use it in GitHub Desktop.
Another extract of a Docker Cloud Stack file with the restorelast command from the docker-pg_dump-to-swift Docker image
pg-dump2swift-restore:
command: restorelast
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