-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
56 lines (52 loc) · 1.18 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
49
50
51
52
53
54
55
56
version: '3'
services:
postgres:
image: postgis/postgis:12-2.5
environment:
- POSTGRES_DB=opendatacube
- POSTGRES_PASSWORD=opendatacubepassword
- POSTGRES_USER=opendatacube
volumes:
- ./data/pg:/var/lib/postgresql/data
ports:
- 5433:5432
restart: always
explorer:
build:
context: .
dockerfile: Dockerfile_explorer
environment:
- DB_HOSTNAME=postgres
- DB_USERNAME=opendatacube
- DB_PASSWORD=opendatacubepassword
- DB_DATABASE=opendatacube
links:
- postgres:postgres
ports:
- 9001:9000
restart: always
openeo_odc_driver:
build:
context: .
dockerfile: Dockerfile
environment:
- DB_HOSTNAME=postgres
- DB_USERNAME=opendatacube
- DB_PASSWORD=opendatacubepassword
- DB_DATABASE=opendatacube
- AWS_NO_SIGN_REQUEST=true
links:
- postgres:postgres
- explorer:explorer
ports:
- 5001:5000
volumes:
- ~/tmp/:/tmp/
restart: always
checkdb:
image: schaffdev/port_check:latest
environment:
- CHECK_HOST=postgres
- CHECK_PORT=5432
links:
- postgres:postgres