diff --git a/Dockerfile b/Dockerfile index 2bc37dc..cab35e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,9 @@ ENV PIP_DEFAULT_TIMEOUT=100 \ POETRY_VIRTUALENVS_CREATE=true \ POETRY_CACHE_DIR='/code/poetry-cache' \ POETRY_HOME='/code/poetry' \ - POETRY_VERSION=1.7.1 + POETRY_VERSION=1.7.1 \ + # PrintServant: + PRINTSERVANT_HOST='http://host.docker.internal:3199' RUN apt-get update && apt-get upgrade -y \ && apt-get install --no-install-recommends -y \ diff --git a/compose.yaml b/compose.yaml index bb4f368..08cba51 100644 --- a/compose.yaml +++ b/compose.yaml @@ -3,3 +3,6 @@ services: build: . ports: - "8080:5000" + extra_hosts: + - "host.docker.internal:host-gateway" +