forked from opendatacube/datacube-alchemist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
32 lines (30 loc) · 849 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
version: "3.7"
services:
postgres:
image: kartoza/postgis:11.0-2.5
environment:
- POSTGRES_DB=opendatacube
- POSTGRES_PASSWORD=opendatacubepassword
- POSTGRES_USER=opendatacube
ports:
- 5432:5432
restart: always
alchemist:
build:
context: .
args:
- ENVIRONMENT=test
environment:
- DB_HOSTNAME=postgres
- DB_USERNAME=opendatacube
- DB_PASSWORD=opendatacubepassword
- DB_DATABASE=opendatacube
# - AWS_NO_SIGN_REQUEST=true
- AWS_ACCESS_KEY_ID=${ODC_ACCESS_KEY}
- AWS_SECRET_ACCESS_KEY=${ODC_SECRET_KEY}
volumes:
- .:/code
- ./examples:/opt/alchemist/examples
- ./codependency:/opt/alchemist/codependency
- /tmp/alchemist:/tmp/alchemist
command: ["/bin/sh", "-ec", "while :; do echo '.'; sleep 5 ; done"]