Skip to content

Instantly share code, notes, and snippets.

@toothrot
Forked from mikeclarke/01-migrate-db.config
Last active August 29, 2015 14:23
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 toothrot/bbd50b573e66d2b6a84a to your computer and use it in GitHub Desktop.
Save toothrot/bbd50b573e66d2b6a84a to your computer and use it in GitHub Desktop.
container_commands:
sync_db:
command: "docker run --env DATABASE_URL=`/opt/elasticbeanstalk/bin/get-config environment | jq -r .DATABASE_URL` aws_beanstalk/current-app:latest lein lobos migrate"
leader_only: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment