Skip to content
This repository has been archived by the owner on Dec 15, 2019. It is now read-only.

Commit

Permalink
Fix GitHub issues openphacts#3 and openphacts#4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackqq committed Feb 19, 2017
1 parent 3aba8a2 commit 5e1f6e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 5 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,13 @@ services:

mysqlstaging:
container_name: ops-mysqlstaging
#build: mysqlstaging
image: openphacts/identitymappingservice-staging
build: mysqlstaging
#image: openphacts/identitymappingservice-staging
links:
- mysql
environment:
- MYSQL_HOST=ops-mysql
- MYSQL_ROOT_PASSWORD=uCie0ahgah
#
# Populate RDF from virtuoso backup download
virtuosostaging:
Expand Down
5 changes: 2 additions & 3 deletions mysqlstaging/staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ fi

# To avoid password warnings..
echo "[client]" > /tmp/my.conf
echo "host=$MYSQL_PORT_3306_TCP_ADDR" >> /tmp/my.conf
echo "port=$MYSQL_PORT_3306_TCP_PORT" >> /tmp/my.conf
echo "host=$MYSQL_HOST" >> /tmp/my.conf
echo "user=root" >> /tmp/my.conf
echo "password=$MYSQL_ENV_MYSQL_ROOT_PASSWORD" >> /tmp/my.conf
echo "password=$MYSQL_ROOT_PASSWORD" >> /tmp/my.conf

# hope that mysql has started
echo "Waiting for mySQL (up to $MYSQL_SLEEP seconds)"
Expand Down

0 comments on commit 5e1f6e7

Please sign in to comment.