forked from digitalearthafrica/cube-in-a-box
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (37 loc) · 932 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
services:
postgres:
image: kartoza/postgis:16-3.4
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
- AWS_S3_ENDPOINT=s3.af-south-1.amazonaws.com
- CIABPASSWORD=${CIABPASSWORD:-secretpassword}
links:
- postgres:postgres
ports:
- "80:8888"
volumes:
- ./notebooks:/notebooks
- ./products.csv:/products.csv
restart: always
checkdb:
image: schaffdev/port_check:latest
environment:
- CHECK_HOST=postgres
- CHECK_PORT=5432
links:
- postgres:postgres