@@ -7,7 +7,7 @@ services:
7
7
platform : linux/amd64
8
8
build :
9
9
context : .
10
- dockerfile : dockerfiles/Dockerfile.gunicorn
10
+ dockerfile : dockerfiles/Dockerfile
11
11
ports :
12
12
- " 8081:8081"
13
13
environment :
@@ -43,49 +43,4 @@ services:
43
43
# - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
44
44
# TiTiler STAC API Config
45
45
- TITILER_STACAPI_API_DEBUG=TRUE
46
- - TITILER_STACAPI_STAC_API_URL=
47
-
48
- api-uvicorn :
49
- # At the time of writing, rasterio wheels are not available for arm64 arch
50
- # so we force the image to be built with linux/amd64
51
- platform : linux/amd64
52
- build :
53
- context : .
54
- dockerfile : dockerfiles/Dockerfile.uvicorn
55
- ports :
56
- - " 8081:8081"
57
- environment :
58
- # Application
59
- - HOST=0.0.0.0
60
- - PORT=8081
61
- - WEB_CONCURRENCY=1
62
- # GDAL Config
63
- - CPL_TMPDIR=/tmp
64
- # This option controls the default GDAL raster block cache size.
65
- # If its value is small (less than 100000), it is assumed to be measured in megabytes, otherwise in bytes.
66
- - GDAL_CACHEMAX=200
67
- - GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR
68
- - GDAL_INGESTED_BYTES_AT_OPEN=32768
69
- - GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
70
- - GDAL_HTTP_MULTIPLEX=YES
71
- - GDAL_HTTP_VERSION=2
72
- # The file can be cached in RAM by setting the configuration option VSI_CACHE to TRUE.
73
- # The cache size defaults to 25 MB, but can be modified by setting the configuration option VSI_CACHE_SIZE (in bytes).
74
- # Content in that cache is discarded when the file handle is closed.
75
- - VSI_CACHE=TRUE
76
- - VSI_CACHE_SIZE=536870912
77
- # In addition, a global least-recently-used cache of 16 MB shared among all downloaded content is enabled by default,
78
- # and content in it may be reused after a file handle has been closed and reopen,
79
- # during the life-time of the process or until VSICurlClearCache() is called.
80
- # Starting with GDAL 2.3, the size of this global LRU cache can be modified by
81
- # setting the configuration option CPL_VSIL_CURL_CACHE_SIZE (in bytes).
82
- - CPL_VSIL_CURL_CACHE_SIZE=200000000
83
- # TiTiler Config
84
- - MOSAIC_CONCURRENCY=5
85
- # - RIO_TILER_MAX_THREADS=2
86
- # AWS S3 endpoint config
87
- # - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
88
- # - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
89
- # TiTiler STAC API Config
90
- - TITILER_STACAPI_API_DEBUG=TRUE
91
- - TITILER_STACAPI_STAC_API_URL=
46
+ - TITILER_STACAPI_STAC_API_URL=
0 commit comments