forked from raster-foundry/granary
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.ci.yml
41 lines (36 loc) · 989 Bytes
/
docker-compose.ci.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
version: "2.4"
services:
frontend-builder:
build:
context: ./granary-ui
dockerfile: Dockerfile.ui
api:
image: "granary-api:${GIT_COMMIT}"
build:
context: ./api
dockerfile: Dockerfile
api-migrations:
image: "granary-api-migrations:${GIT_COMMIT}"
build:
context: ./database
dockerfile: Dockerfile.migrations
calculate-water:
image: "granary-calculate-water:${GIT_COMMIT}"
shellcheck:
image: koalaman/shellcheck:stable
volumes:
- ./:/usr/local/src
working_dir: /usr/local/src
terraform:
image: quay.io/azavea/terraform:0.12.13
volumes:
- ./:/usr/local/src
- $HOME/.aws:/root/.aws:ro
environment:
- AWS_PROFILE
- AWS_DEFAULT_REGION=us-east-1
- GIT_COMMIT=${GIT_COMMIT:-latest}
- GRANARY_DEBUG=1
- GRANARY_SETTINGS_BUCKET=${GRANARY_SETTINGS_BUCKET:-rasterfoundry-production-config-us-east-1}
working_dir: /usr/local/src
entrypoint: bash