Skip to content

Commit

Permalink
reverted compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
16EAGLE committed Jun 21, 2021
1 parent 29a604c commit 803bd8b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This repository hosts all you need to install an *Open Data Cube* instance as a

* an R kernel and its upstream dependencies, initialized to connect with the Jupyter environment,
* a pre-installed suite of R packages for spatial analysis as well as there system requirements
* helper scripts for quick starting, stoping and re-deploying of the container environment (see below),
* helper scripts for quick starting, stopping and re-deploying of the container environment (see below),
* a revised `README.md` with installation instructions

See the commit history for all changes to the original repository.
Expand Down
5 changes: 5 additions & 0 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: '3'

services:
jupyter:
image: opendatacube/cube-in-a-box:latest
29 changes: 29 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '3'

services:
postgres:
image: postgis/postgis:10-2.5
environment:
- POSTGRES_DB=opendatacube
- POSTGRES_PASSWORD=opendatacubepassword
- POSTGRES_USER=opendatacube
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
- STAC_API_URL=https://earth-search.aws.element84.com/v0/
ports:
- "80:8888"
user: root
volumes:
- ./notebooks:/notebooks
restart: always
command: jupyter notebook --allow-root --ip="0.0.0.0" --NotebookApp.token='secretpassword'

0 comments on commit 803bd8b

Please sign in to comment.