-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
41 lines (39 loc) · 925 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:
database:
image: postgres:13-buster
volumes:
- odc-database-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=opendatacube
- POSTGRES_PASSWORD=opendatacube
- POSTGRES_DB=opendatacube
- PGDATA=/var/lib/postgresql/data/pgdata
restart: unless-stopped
ports:
- "5432:5432"
pygeoapi:
# image: 52north/pygeoapi-opendatacube
build:
context: .
volumes:
- odc-data:/odc/DATA
ports:
- "5000:80"
depends_on:
- database
volumes:
# odc-database-data:
# labels:
# - "org.52north.contact=<contact>"
# - "org.52north.context=<context>"
# odc-data:
# labels:
# - "org.52north.contact=<contact>"
# - "org.52north.context=<context>"
odc-database-data:
external:
name: opendatacube-importer_odc-database-data
odc-data:
external:
name: opendatacube-importer_odc-data