diff --git a/Makefile b/Makefile index 0b990f5bb..27d5d6020 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,11 @@ unit-tests: python -m pytest -v ./client/unit-tests start-postgis-docker: - docker run -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_DB=valor -d --network "host" docker.io/postgis/postgis + docker run -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_DB=valor -d docker.io/postgis/postgis run-migrations: docker build -f=migrations/Dockerfile ./migrations -t migrations && \ - docker run -e POSTGRES_PASSWORD=password -e POSTGRES_HOST=localhost -e POSTGRES_DB=valor -e POSTGRES_USERNAME=postgres -e POSTGRES_PORT=5432 --network "host" migrations + docker run -e POSTGRES_PASSWORD=password -e POSTGRES_HOST=host.docker.internal -e POSTGRES_DB=valor -e POSTGRES_USERNAME=postgres -e POSTGRES_PORT=5432 migrations functional-tests: POSTGRES_PASSWORD=password POSTGRES_HOST=localhost POSTGRES_DB=valor POSTGRES_USERNAME=postgres POSTGRES_PORT=5432 pytest -v ./api/tests/functional-tests