-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix handling of multiple instances. change dl urls
- reset was only working for the first instance - starting was only working if root folder names were different => fix by assigning project names based of start port - changed CODH URLs to 'latest' scheme where possible
- Loading branch information
1 parent
8500e54
commit 89131f5
Showing
6 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ cf/authFirebase.js | |
cm/authFirebase.js | ||
ce/authFirebase.js | ||
docker-compose.yml | ||
proj_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,3 @@ | ||
#!/bin/bash | ||
|
||
cic=`docker ps -a -q -f name=curationframeworkbackend_canvasindexer_1` | ||
jkc=`docker ps -a -q -f name=curationframeworkbackend_jsonkeeper_1` | ||
cvc=`docker ps -a -q -f name=curationframeworkbackend_curationviewer_1` | ||
cfc=`docker ps -a -q -f name=curationframeworkbackend_curationfinder_1` | ||
lc=`docker ps -a -q -f name=curationframeworkbackend_loris_1` | ||
if [ ! -z "$cic" -a "$cic" != "" ]; then | ||
docker container rm "$cic" | ||
fi | ||
if [ ! -z "$jkc" -a "$jkc" != "" ]; then | ||
docker container rm "$jkc" | ||
fi | ||
if [ ! -z "$cvc" -a "$cvc" != "" ]; then | ||
docker container rm "$cvc" | ||
fi | ||
if [ ! -z "$cfc" -a "$cfc" != "" ]; then | ||
docker container rm "$cfc" | ||
fi | ||
if [ ! -z "$lc" -a "$lc" != "" ]; then | ||
docker container rm "$lc" | ||
fi | ||
docker container prune -f --filter=label=`cat ./proj_name` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker-compose --project-name `cat ./proj_name` up --build |