Spaces:
Sleeping
Sleeping
florinbarbisch
commited on
Commit
·
e7fbfcc
1
Parent(s):
d955727
Added: docker-compose for s3 & titiler
Browse files- docker-compose.yaml +50 -0
docker-compose.yaml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: '3.8'
|
2 |
+
|
3 |
+
services:
|
4 |
+
titiler:
|
5 |
+
image: ghcr.io/developmentseed/titiler
|
6 |
+
container_name: titiler
|
7 |
+
hostname: titiler
|
8 |
+
environment:
|
9 |
+
- PORT=8000
|
10 |
+
- WORKERS_PER_CORE=1
|
11 |
+
- GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
|
12 |
+
- CPL_VSIL_CURL_ALLOWED_EXTENSIONS=".tif,.ovr"
|
13 |
+
- GDAL_CACHEMAX=200
|
14 |
+
- CPL_VSIL_CURL_CACHE_SIZE=200000000
|
15 |
+
- VSI_CACHE=TRUE
|
16 |
+
- VSI_CACHE_SIZE=5000000
|
17 |
+
- GDAL_HTTP_MULTIPLEX=YES
|
18 |
+
- GDAL_HTTP_VERSION=2
|
19 |
+
expose:
|
20 |
+
- 8000
|
21 |
+
restart: unless-stopped
|
22 |
+
|
23 |
+
cloudflared:
|
24 |
+
image: cloudflare/cloudflared
|
25 |
+
hostname: cloudflare-tunnel
|
26 |
+
container_name: cloudflared
|
27 |
+
environment:
|
28 |
+
- "TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}"
|
29 |
+
restart: unless-stopped
|
30 |
+
depends_on:
|
31 |
+
- titiler
|
32 |
+
- minio
|
33 |
+
command: tunnel run --protocol http2
|
34 |
+
|
35 |
+
minio:
|
36 |
+
image: quay.io/minio/minio
|
37 |
+
container_name: minio
|
38 |
+
hostname: minio
|
39 |
+
environment:
|
40 |
+
- "MINIO_ROOT_USER=${MINIO_ROOT_USER}"
|
41 |
+
- "MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}"
|
42 |
+
volumes:
|
43 |
+
- ~/minio/data:/data
|
44 |
+
expose:
|
45 |
+
- 9000
|
46 |
+
ports:
|
47 |
+
- 9001:9001
|
48 |
+
- 9009:9000
|
49 |
+
command: server /data --console-address ":9001"
|
50 |
+
restart: unless-stopped
|