-
Notifications
You must be signed in to change notification settings - Fork 51
/
docker-compose.yml
41 lines (39 loc) · 983 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
35
36
37
38
39
40
41
version: '3'
services:
postgres:
image: kartoza/postgis:13-3.1
environment:
- POSTGRES_DB=opendatacube
- POSTGRES_PASSWORD=opendatacubepassword
- POSTGRES_USER=opendatacube
volumes:
- ./data/pg:/var/lib/postgresql/data
ports:
- 5432:5432
restart: always
jupyter:
build: .
environment:
- DB_HOSTNAME=postgres
- DB_USERNAME=opendatacube
- DB_PASSWORD=opendatacubepassword
- DB_DATABASE=opendatacube
- AWS_NO_SIGN_REQUEST=true
- STAC_API_URL=https://explorer.sandbox.dea.ga.gov.au/stac/
- CIABPASSWORD=${CIABPASSWORD:-secretpassword}
links:
- postgres:postgres
ports:
- "80:8888"
volumes:
- ./notebooks:/notebooks
- ./tests:/tests
- ./products.csv:/products.csv
restart: always
checkdb:
image: schaffdev/port_check:latest
environment:
- CHECK_HOST=postgres
- CHECK_PORT=5432
links:
- postgres:postgres