-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathdocker-compose.yml
34 lines (34 loc) · 1.46 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
version: '3'
services:
overlay-example:
image: daunnc/openjdk-gdal:3.1-jdk8-slim
command: /bin/sh -c "java -cp /opt/geotrellis-server-example.jar geotrellis.server.example.overlay.WeightedOverlayServer"
ports:
- "9500:9500"
volumes:
- $HOME/.aws:/root/.aws
- ./example/target/scala-2.12/geotrellis-server-example.jar:/opt/geotrellis-server-example.jar
persistence-example:
image: daunnc/openjdk-gdal:3.1-jdk8-slim
command: /bin/sh -c "java -cp /opt/geotrellis-server-example.jar geotrellis.server.example.persistence.PersistenceServer"
ports:
- "9500:9500"
volumes:
- $HOME/.aws:/root/.aws
- ./example/target/scala-2.12/geotrellis-server-example.jar:/opt/geotrellis-server-example.jar
ndvi-example:
image: daunnc/openjdk-gdal:3.1-jdk8-slim
command: /bin/sh -c "java -cp /opt/geotrellis-server-example.jar geotrellis.server.example.ndvi.NdviServer"
ports:
- "9500:9500"
volumes:
- $HOME/.aws:/root/.aws
- ./example/target/scala-2.12/geotrellis-server-example.jar:/opt/geotrellis-server-example.jar
gdal-ndvi-example:
image: daunnc/openjdk-gdal:3.1-jdk8-slim
command: /bin/sh -c "java -Djava.library.path=/usr/local/lib -cp /opt/geotrellis-server-example.jar geotrellis.server.example.ndvi.GdalNdviServer"
ports:
- "9500:9500"
volumes:
- $HOME/.aws:/root/.aws
- ./example/target/scala-2.12/geotrellis-server-example.jar:/opt/geotrellis-server-example.jar