Skip to content

Commit

Permalink
fix port
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Feb 13, 2025
1 parent 96e17b8 commit 3a1af93
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest

host = os.environ.get("HOST", "0.0.0.0")
port = os.environ.get("PORT", "8081")
port = os.environ.get("PORT", "8083")


@pytest.mark.parametrize(
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def search_id():
"""Mosaic ID fixture"""
host = os.environ.get("HOST", "0.0.0.0")
port = os.environ.get("PORT", "8081")
port = os.environ.get("PORT", "8083")

query = {"collections": ["world"]}
response = httpx.post(f"http://{host}:{port}/searches/register", json=query)
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ RUN cd /usr/local/share/ca-certificates/cacert.org && curl -k -O https://www.cac
RUN update-ca-certificates
ENV CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt

WORKDIR /tmp

RUN python -m pip install -U pip
RUN python -m pip install uvicorn uvicorn-worker gunicorn

Expand Down
2 changes: 1 addition & 1 deletion benchmark/create_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _xy(lon, lat):
with open("urls.txt", "w") as fin:
fin.write("PROT=http\n")
fin.write("HOST=localhost\n")
fin.write("PORT=8080\n")
fin.write("PORT=8081\n")
fin.write("PATH=\n")
fin.write("EXT=pbf\n")
for zoom in range(0, maxzoom + 1):
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
service: tiler
ports:
- "8081:8081"
command: ["uvicorn", "titiler.pgstac.main:app", "--host", "0.0.0.0", "--port", "8081", "--workers", "1"]
command: ["uvicorn", "titiler.pgstac.main:app", "--host", "0.0.0.0", "--port", "8083", "--workers", "1"]

database:
container_name: stac-db
Expand Down

0 comments on commit 3a1af93

Please sign in to comment.