Blame view
deploy.sh
753 Bytes
a7065b1b3 Add deploy and de... |
1 2 3 4 5 6 7 8 9 10 11 12 |
#!/bin/sh # Login into the CUREX registry docker login https://registry.curex-project.eu:443/artifactory/curex-local/ # pull all containers docker-compose -f docker-compose-jfrog.yml pull sleep 1 # Prepare installation cd api |
41c17fd87 Fix filename |
13 |
cp .env.example .env |
a7065b1b3 Add deploy and de... |
14 15 16 17 18 19 20 21 22 23 24 25 |
docker run --rm -v $(pwd):/app \ registry.curex-project.eu:443/curex-local/kea_composer:2.0.7 \ install cd .. ./create_volumes.sh # Run containers docker-compose -f docker-compose-jfrog.yml up --detach # Wait until everything is up, 2 mins should be enough. sleep 120 # create and populate the database |
64ac3cad4 Specify filename ... |
26 |
docker-compose -f docker-compose-jfrog.yml exec api php artisan migrate:fresh --seed --force |
a7065b1b3 Add deploy and de... |
27 28 |
#Check that everything is running succesfully |
707712013 Only show KEA con... |
29 |
docker ps -a | grep "^CONTAINER\|/curex-local/kea_" |
a7065b1b3 Add deploy and de... |
30 |