diff --git a/Dockerfile b/Dockerfile index 65dfb28..a1905d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,4 @@ COPY . /app FROM runner WORKDIR /app EXPOSE 8000 -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers"] \ No newline at end of file +CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers", "--forwarded-allow-ips", "*"] \ No newline at end of file diff --git a/compose.yaml b/compose.yaml index d1b11eb..edc0b19 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,6 +1,6 @@ services: app: - image: hibobmaster/iplookupserver:test + image: hibobmaster/iplookupserver:latest ports: - "127.0.0.1:8000:8000" restart: no