forked from GeoscienceAustralia/dea-notebooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (32 loc) · 961 Bytes
/
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.6"
services:
postgres:
image: postgres:13-alpine
ports:
- "5434:5432"
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=opendatacubepassword
- POSTGRES_USER=postgres
expose:
- 5432
restart: always
sandbox:
image: 538673716275.dkr.ecr.ap-southeast-2.amazonaws.com/geoscienceaustralia/sandbox:stable
environment:
- DB_HOSTNAME=postgres
- DB_USERNAME=postgres
- DB_PASSWORD=opendatacubepassword
- DB_DATABASE=postgres
- AWS_DEFAULT_REGION=ap-southeast-2
- AWS_ACCESS_KEY_ID=fake_id
- AWS_SECRET_ACCESS_KEY=fake_key
- AWS_NO_SIGN_REQUEST=YES
- GDAL_HTTP_MAX_RETRY=3
depends_on:
- postgres
entrypoint: bash -c 'sleep infinity'
user: ${CURRENT_UID}
volumes:
- ${GITHUB_WORKSPACE}/dea-notebooks:/home/jovyan/dea-notebooks
- ${GITHUB_WORKSPACE}/tide_models:/var/share/tide_models