-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.ows.yaml
35 lines (32 loc) · 1.01 KB
/
docker-compose.ows.yaml
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
version: '3.4'
# Default compose will create an ows image, with dev settings and connect to a local db
services:
ows:
image: opendatacube/ows:latest
environment:
# # Defaults are defined in .env file
DB_HOSTNAME: postgres
DB_USERNAME: opendatacube
DB_PASSWORD: opendatacubepassword
DB_DATABASE: opendatacube
DB_PORT: 5432
WMS_CONFIG_PATH: /dea-config/${OWS_CFG_PATH}
# # Path from the PYTHONPATH to the config object (default PYTHONPATH is /env)
DATACUBE_OWS_CFG: ${DATACUBE_OWS_CFG}
AWS_DEFAULT_REGION: ap-southeast-2
PYTHONPATH: /dea-config/${PYTHON_PATH}
INVENTORY: /dea-config/${PYTHON_PATH}/inventory.json
depends_on:
- postgres
volumes:
- ./:/dea-config/
- ./artifacts:/mnt/artifacts
postgres:
image: kartoza/postgis:13-3.1
environment:
- POSTGRES_DB=opendatacube
- POSTGRES_PASSWORD=opendatacubepassword
- POSTGRES_USER=opendatacube
ports:
- "5435:5432"
restart: always