giswqs commited on
Commit
15f4d7c
·
1 Parent(s): 358da8a

Update env variables

Browse files
Files changed (1) hide show
  1. 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
- # ENV FORWARDED_ALLOW_IPS=*
9
- # ENV TITILER_API_ROOT_PATH=""
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='*'", "--root-path=/api/v1/titiler"]
 
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", "*"]