Skip to content

Commit

Permalink
Use port 9999 for postgis
Browse files Browse the repository at this point in the history
  • Loading branch information
moradology committed Dec 2, 2016
1 parent 0425cad commit 9b55404
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -19,7 +19,7 @@ services:
- postgresql

before_script:
- docker run -d --restart=always -p 5432:5432 -e POSTGRES_DB=slick_tests quay.io/azavea/postgis:0.1.0
- docker run -d --restart=always -p 9999:5432 -e POSTGRES_DB=slick_tests quay.io/azavea/postgis:0.1.0
- docker run -d --restart=always --net=host -m 1G --memory-swap -1 --env="MAX_HEAP_SIZE=500M" --env="HEAP_NEWSIZE=100M" --env="CASSANDRA_LISTEN_ADDRESS=127.0.0.1" cassandra:latest
- .travis/hbase-install.sh

Expand Down
2 changes: 1 addition & 1 deletion scripts/slickTestDB.sh
Expand Up @@ -5,6 +5,6 @@ docker pull quay.io/azavea/postgis:0.1.0
docker run \
-it \
--rm \
-p 5432:5432 \
-p 9999:5432 \
-e POSTGRES_DB=slick_tests \
quay.io/azavea/postgis:0.1.0
21 changes: 21 additions & 0 deletions slick/src/test/resources/reference.conf
@@ -0,0 +1,21 @@
# Copyright 2016 Azavea
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

db {
user = "postgres"
password = "postgres"
database = "slick_tests"
host = "localhost:9999"
}

File renamed without changes.

0 comments on commit 9b55404

Please sign in to comment.