-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
48 lines (48 loc) · 1.36 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
version: "2.3"
services:
database:
# When this is updated, we'll have to handle creating the postgis extension
# somewhere in the test workflow. That's handled automatically on 0.1.0 but
# not on later versions
image: quay.io/azavea/postgis:0.1.0
environment:
- POSTGRES_USER=slick_tests
- POSTGRES_PASSWORD=slick_tests
- POSTGRES_DB=slick_tests
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
interval: 3s
timeout: 3s
retries: 3
start_period: 5s
sbt:
image: quay.io/azavea/openjdk-gdal:2.4-jdk8-slim
depends_on:
database:
condition: service_healthy
links:
- database:database.service.internal
environment:
- COURSIER_CACHE=/root/.coursier
volumes:
- .:/opt/geotrellis-contrib
- $HOME/.coursier:/root/.coursier
- $HOME/.ivy2:/root/.ivy2
- $HOME/.sbt:/root/.sbt
working_dir: /opt/geotrellis-contrib
entrypoint: ./sbt
benchmark:
build:
context: .
dockerfile: benchmark/Dockerfile
environment:
- AWS_PROFILE=geotrellis
- COURSIER_CACHE=/root/.coursier
volumes:
- .:/opt/geotrellis-contrib
- $HOME/.aws:/root/.aws:ro
- $HOME/.coursier:/root/.coursier
- $HOME/.ivy2:/root/.ivy2
- $HOME/.sbt:/root/.sbt
working_dir: /opt/geotrellis-contrib
entrypoint: ./sbt