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.

16 lines
678 B

  1. #!/usr/bin/env bash
  2. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  3. cd $DIR
  4. unset DIR
  5. # Info: Docker image name is already set in previous scripts
  6. ## Set image tag in Compose to avoid image build
  7. #sed -i 's^dockerfile: backend/Dockerfile.prod^dockerfile: backend/Dockerfile.prod\n image: doccano-backend:custom^g' ../../docker-compose.prod.yml
  8. #sed -i 's^dockerfile: nginx/Dockerfile^dockerfile: nginx/Dockerfile\n image: doccano-nginx:custom^g' ../../docker-compose.prod.yml
  9. # Load docker images
  10. docker image load -i doccano-backend.tar
  11. docker image load -i doccano-nginx.tar
  12. docker image load -i postgres.tar
  13. docker image load -i rabbitmq.tar