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.
 
 
 
 
 
 

13 regels
318 B

  1. #!/usr/bin/env bash
  2. set -e
  3. # containers
  4. export COMPOSE_PROJECT_NAME=lesspass
  5. docker-compose build
  6. docker-compose up -d
  7. date -u
  8. docker exec -it lesspass_backend_1 sh -c '/opt/app/venv/bin/python wait_db.py'
  9. date -u
  10. docker exec -it lesspass_backend_1 sh -c '/opt/app/venv/bin/python manage.py test'
  11. docker-compose down