This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Patrick Huang
committed
Oct 13, 2016
1 parent
880a0e2
commit e851fd9
Showing
5 changed files
with
44 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# default settings for the scripts | ||
|
||
# default database settings value | ||
DB_USERNAME=zanata | ||
DB_PASSWORD=zanatapw | ||
DB_SCHEMA=zanata | ||
DB_ROOT_PASSWORD=rootpw | ||
|
||
# default docker network to join | ||
DOCKER_NETWORK=docker-network | ||
|
||
function ensure_docker_network() { | ||
# check if the docker network is already created | ||
if docker network ls | grep -w ${DOCKER_NETWORK} | ||
then | ||
echo "will use docker network $DOCKER_NETWORK" | ||
else | ||
echo "creating docker network $DOCKER_NETWORK" | ||
docker network create ${DOCKER_NETWORK} | ||
fi | ||
} |
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