mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-25 23:58:18 +01:00
.travis.yml: Use localhost for Docker's PostgreSQL ports
See: https://docs.travis-ci.com/user/docker/
This commit is contained in:
parent
d40b2f0b2e
commit
1959e8154e
@ -7,7 +7,7 @@ sudo: required
|
||||
services: docker
|
||||
before_install:
|
||||
- docker pull postgres:9.5-alpine
|
||||
- docker run -d --name dspacestatistics -p 5432:5432 postgres:9.5-alpine
|
||||
- docker run -d --name dspacestatistics -p 127.0.0.1:5432:5432 postgres:9.5-alpine
|
||||
- docker ps -a
|
||||
- docker exec dspacestatistics createuser -U postgres dspacestatistics
|
||||
- docker exec dspacestatistics psql -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'"
|
||||
|
Loading…
Reference in New Issue
Block a user