-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move config file setup to entrypoint.sh
- Loading branch information
1 parent
09b0542
commit b7b4634
Showing
2 changed files
with
11 additions
and
6 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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
echo "Configuring files ..." | ||
bundle exec rake dcv:ci:config_files | ||
|
||
echo "Updating config to use host.docker.internal" | ||
bundle exec rake dcv:docker:bind_mount:use_docker_host | ||
|
||
echo "Starting Solr prod tunnel in background" | ||
ssh -L 8983:ldpd-solr-prod1.cul.columbia.edu:8983 -C -N [email protected] & | ||
|
||
if [ ! -d "./tmp" ]; then | ||
mkdir -p "./tmp" | ||
fi | ||
|
||
echo $! > ./tmp/ssh_tunnel.pid | ||
|
||
MONITOR_FILE="./tmp/shutdown_tunnel_signal" | ||
|
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