forked from geotrellis/geotrellis-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (46 loc) · 1.8 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
version: '3'
services:
overlay-example:
image: daunnc/openjdk-gdal:2.3.2
command: /bin/sh -c "java -cp /opt/geotrellis-server-example.jar geotrellis.server.example.overlay.WeightedOverlayServer"
ports:
- "9000:9000"
volumes:
- $HOME/.aws:/root/.aws
- ./example/target/scala-2.11/geotrellis-server-example.jar:/opt/geotrellis-server-example.jar
persistence-example:
image: daunnc/openjdk-gdal:2.3.2
command: /bin/sh -c "java -cp /opt/geotrellis-server-example.jar geotrellis.server.example.persistence.PersistenceServer"
ports:
- "9000:9000"
volumes:
- $HOME/.aws:/root/.aws
- ./example/target/scala-2.11/geotrellis-server-example.jar:/opt/geotrellis-server-example.jar
ndvi-example:
image: daunnc/openjdk-gdal:2.3.2
command: /bin/sh -c "java -cp /opt/geotrellis-server-example.jar geotrellis.server.example.ndvi.NdviServer"
ports:
- "9000:9000"
volumes:
- $HOME/.aws:/root/.aws
- ./example/target/scala-2.11/geotrellis-server-example.jar:/opt/geotrellis-server-example.jar
gdal-ndvi-example:
image: daunnc/openjdk-gdal:2.3.2
command: /bin/sh -c "java -Djava.library.path=/usr/local/lib -cp /opt/geotrellis-server-example.jar geotrellis.server.example.ndvi.GdalNdviServer"
ports:
- "9000:9000"
volumes:
- $HOME/.aws:/root/.aws
- ./example/target/scala-2.11/geotrellis-server-example.jar:/opt/geotrellis-server-example.jar
server-microsite:
image: quay.io/geotrellis/server-microsite:latest
command: bash -c "cd /root/geotrellis-server/docs/target/site && jekyll serve --host 0.0.0.0"
ports:
- "4000:4000"
volumes:
- $HOME/.sbt:/root/.sbt
- $HOME/.ivy2:/root/.ivy2
- ./:/root/geotrellis-server
build:
dockerfile: microsite.dockerfile
context: .