Skip to content

Latest commit

 

History

History

deploy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Deploying

This section explains how to get the Data Cube Manager GUI up and running with Docker and Docker Compose. If you do not have Docker installed, take a look at this tutorial on how to install it in your system See also the tutorial on how to install Docker Compose

Installation

Requirements

Make sure you have the following libraries installed:

Build and Running

Use the following command to build docker image brazil-data-cube/dc-manager:1.1.0 (root repo dir):

docker build --tag brazil-data-cube/dc-manager:1.1.0 \
             --build-arg DC_MANAGER_VERSION=1.1.0 \
             -f deploy/Dockerfile .

If the above command runs successfully, you will be able to list the docker image:

brazil-data-cube/dc-manager           1.1.0            a801f493c3f0   23 seconds ago   73.8MB

In order to launch docker image, you may pass the following command:

docker run --interactive \
           --tty \
           --rm \
           --name dc-manager \
           --env DC_MANAGER_MODE=local \
           --env DC_MANAGER_ITEM_PREFIX=/cubes \
           --env DC_MANAGER_ITEM_BASE_URL=https://brazildatacube.dpi.inpe.br \
           --publish 8080:8080 \
           --env DC_MANAGER_BASE_URL=/ \
           brazil-data-cube/dc-manager:1.1.0

You may need to replace the definition of some environment variables:

  • DC_MANAGER_MODE="local": used to tell Data Cube Manager to use context mode of local (on-premise services). You may also set to cloud if your application is running with AWS set up support.

  • DC_MANAGER_ITEM_PREFIX="/cubes": prefix used for data cube items in database. See Cube Builder Config.

  • DC_MANAGER_ITEM_BASE_URL="https://brazildatacube.dpi.inpe.br": base url prefix of HTTP served used to serve data cubes images.