Spaces:
Running
Running
Update env variables
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -5,8 +5,8 @@ ENV TITILER_API_CORS_ORIGINS=*
|
|
5 |
ENV TITILER_API_CORS_ALLOW_METHODS=GET,POST,OPTIONS
|
6 |
|
7 |
# Proxy settings for HTTPS detection
|
8 |
-
|
9 |
-
|
10 |
|
11 |
ENV CPL_TMPDIR=/tmp
|
12 |
ENV GDAL_CACHEMAX=75%
|
@@ -21,4 +21,4 @@ ENV VSI_CACHE_SIZE=536870912
|
|
21 |
|
22 |
EXPOSE 7860
|
23 |
|
24 |
-
CMD ["uvicorn", "titiler.application.main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1", "--proxy-headers", "--forwarded-allow-ips
|
|
|
5 |
ENV TITILER_API_CORS_ALLOW_METHODS=GET,POST,OPTIONS
|
6 |
|
7 |
# Proxy settings for HTTPS detection
|
8 |
+
ENV FORWARDED_ALLOW_IPS=*
|
9 |
+
ENV TITILER_API_ROOT_PATH=""
|
10 |
|
11 |
ENV CPL_TMPDIR=/tmp
|
12 |
ENV GDAL_CACHEMAX=75%
|
|
|
21 |
|
22 |
EXPOSE 7860
|
23 |
|
24 |
+
CMD ["uvicorn", "titiler.application.main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1", "--proxy-headers", "--forwarded-allow-ips", "*"]
|