You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 regels
423 B

  1. #!/bin/bash
  2. cd ..
  3. docker exec -t lesspass_db_1 pg_dumpall -U postgres -c > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql
  4. export COMPOSE_HTTP_TIMEOUT=120
  5. docker-compose -f docker-compose.yml -f docker-compose.prod.yml rm -f
  6. docker-compose -f docker-compose.yml -f docker-compose.prod.yml pull
  7. docker-compose -f docker-compose.yml -f docker-compose.prod.yml build
  8. docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d