This repository has been archived by the owner on Jun 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
101 lines (96 loc) · 2.68 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: '3'
services:
landsat:
build: .
ports:
- "8000:8000"
volumes:
- '.:/local'
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- CPL_TMPDIR=/tmp
- CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.TIF,.ovr
- GDAL_CACHEMAX=75%
- GDAL_DISABLE_READDIR_ON_OPEN=FALSE
- GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
- GDAL_HTTP_MULTIPLEX=YES
- GDAL_HTTP_VERSION=2
- TOKEN=${SECRET_TOKEN}
- VSI_CACHE_SIZE=536870912
- VSI_CACHE=TRUE
command: >
bash -c "/var/task/bin/remotepixel-tiler landsat"
cbers:
build: .
ports:
- "8000:8000"
volumes:
- '.:/local'
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_REQUEST_PAYER=requester
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- CPL_TMPDIR=/tmp
- CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.tif
- GDAL_CACHEMAX=75%
- GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR
- GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
- GDAL_HTTP_MULTIPLEX=YES
- GDAL_HTTP_VERSION=2
- TOKEN=${SECRET_TOKEN}
- VSI_CACHE_SIZE=536870912
- VSI_CACHE=TRUE
command: >
bash -c "/var/task/bin/remotepixel-tiler cbers"
sentinel:
build: .
ports:
- "8000:8000"
volumes:
- '.:/local'
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_REQUEST_PAYER=requester
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- CPL_TMPDIR=/tmp
- CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.jp2,.tif
- GDAL_CACHEMAX=75%
- GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR
- GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
- GDAL_HTTP_MULTIPLEX=YES
- GDAL_HTTP_VERSION=2
- TOKEN=${SECRET_TOKEN}
- VSI_CACHE_SIZE=536870912
- VSI_CACHE=TRUE
command: >
bash -c "/var/task/bin/remotepixel-tiler sentinel"
cogeo:
build: .
ports:
- "8000:8000"
volumes:
- '.:/local'
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- CPL_TMPDIR=/tmp
- CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.tif
- GDAL_CACHEMAX=75%
- GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR
- GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
- GDAL_HTTP_MULTIPLEX=YES
- GDAL_HTTP_VERSION=2
- TOKEN=${SECRET_TOKEN}
- VSI_CACHE_SIZE=536870912
- VSI_CACHE=TRUE
command: >
bash -c "/var/task/bin/remotepixel-tiler cogeo"
bash:
build: .
volumes:
- '.:/local'
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
command: /bin/bash