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
Make sure you have the following libraries installed:
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 oflocal
(on-premise services). You may also set tocloud
if your application is running with AWS set up support. -
DC_MANAGER_ITEM_PREFIX="/cubes"
: prefix used for data cube items in database. SeeCube Builder Config
. -
DC_MANAGER_ITEM_BASE_URL="https://brazildatacube.dpi.inpe.br"
: base url prefix of HTTP served used to serve data cubes images.