Skip to content

Commit b40c393

Browse files
committed
put back titiler in default local docker-compose
1 parent 76cb32b commit b40c393

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docker-compose.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,23 @@ services:
3939
- ./:/code
4040
ports:
4141
- "8001:8001"
42+
titiler:
43+
image: ghcr.io/developmentseed/titiler:latest
44+
container_name: titiler
45+
platform: linux/amd64
46+
environment:
47+
CPL_TMPDIR: /tmp
48+
GDAL_CACHEMAX: 75%
49+
VSI_CACHE: TRUE
50+
VSI_CACHE_SIZE: 1073741824
51+
GDAL_DISABLE_READDIR_ON_OPEN: EMPTY_DIR
52+
GDAL_HTTP_MERGE_CONSECUTIVE_RANGES: YES
53+
GDAL_HTTP_MULTIPLEX: YES
54+
GDAL_HTTP_VERSION: 2
55+
PYTHONWARNINGS: ignore
56+
WEB_CONCURRENCY: 4
57+
ports:
58+
- "8002:8000"
59+
volumes:
60+
- ./data:/data # Optional: mount local directory with your raster files
61+
restart: unless-stopped

0 commit comments

Comments
 (0)