Force stop postgres
This commit is contained in:
parent
026ff0e0f2
commit
fbd427a73c
|
@ -14,6 +14,10 @@ before_install:
|
|||
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
|
||||
- chmod +x docker-compose
|
||||
- sudo mv docker-compose /usr/local/bin
|
||||
# Shut down postgres because it blocks our db container's port map to :5432
|
||||
- sudo service postgresql stop
|
||||
# Wait for it to stop
|
||||
- while sudo lsof -Pi :5432 -sTCP:LISTEN -t; do sleep 1; done
|
||||
- docker-compose --version
|
||||
- docker ps
|
||||
# Needed to deploy pull request and releases
|
||||
|
|
Loading…
Reference in New Issue