-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master: refactor docker/composumlauncher starter scripts fix docker build rename profile github to more specific github-www-composum-com since it's for that specific maven repository ; debugging for docker build
- Loading branch information
Showing
7 changed files
with
31 additions
and
18 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
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,7 +1,5 @@ | ||
#!/usr/bin/env bash | ||
echo Start script for quick check of docker image drawn from dockerhub | ||
echo Debug / view logfiles with docker exec -it composum bash | ||
set -x | ||
source .env | ||
docker pull composum/featurelauncher-composum:$DOCKER_IMAGE_TAG | ||
docker run --name composum --rm -p 8080:8080 -e OPENAI_API_KEY=$OPENAI_API_KEY composum/featurelauncher-composum:$DOCKER_IMAGE_TAG | ||
#!/usr/bin/env bash | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
exec $DIR/start-version-from-dockerhub.sh $DOCKER_IMAGE_TAG |
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,6 +1,3 @@ | ||
#!/usr/bin/env bash | ||
echo Start script for quick check of docker image drawn from dockerhub | ||
echo Debug / view logfiles with docker exec -it composum bash | ||
set -x | ||
docker pull composum/featurelauncher-composum:develop | ||
docker run --name composum --rm -p 8080:8080 -e OPENAI_API_KEY=$OPENAI_API_KEY composum/featurelauncher-composum:develop | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
exec $DIR/start-version-from-dockerhub.sh develop |
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,6 +1,3 @@ | ||
#!/usr/bin/env bash | ||
echo Start script for quick check of docker image drawn from dockerhub | ||
echo Debug / view logfiles with docker exec -it composum bash | ||
set -x | ||
docker pull composum/featurelauncher-composum:latest | ||
docker run --name composum --rm -p 8080:8080 -e OPENAI_API_KEY=$OPENAI_API_KEY composum/featurelauncher-composum:latest | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
exec $DIR/start-version-from-dockerhub.sh latest |
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,14 @@ | ||
#!/usr/bin/env bash | ||
echo Start script for quick check of docker image drawn from dockerhub with the given version tag $1 | ||
echo Debug / view logfiles with docker exec -it composum bash | ||
|
||
VERSION=$1 | ||
if [ -z "$VERSION" ] | ||
then | ||
echo "No version tag given, aborting" | ||
exit 1 | ||
fi | ||
|
||
set -x | ||
docker pull composum/featurelauncher-composum:$VERSION | ||
docker run --name composum --rm -p 8080:8080 -e OPENAI_API_KEY=$OPENAI_API_KEY composum/featurelauncher-composum:$VERSION |
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