Skip to content

Latest commit

 

History

History
85 lines (48 loc) · 2.67 KB

DEPLOY.rst

File metadata and controls

85 lines (48 loc) · 2.67 KB

Deploying

Configuration

Collector Providers

Please, refer to the section "Setting up the Credentials for EO Data Providers" in the :doc:`config` documentation.

Auxiliary Data for Atmospheric Correction

Please, refer to the section "Setting up Auxiliary Data for Surface Reflectance Processors" in the :doc:`config` documentation.

docker-compose.yml

Open and edit docker-compose.yml with the following variables:

  1. DATA_DIR - Path to store collections.
  2. SQLALCHEMY_DATABASE_URI - BDC Collection Builder Database URI.
  3. REDIS_URL - URI to connect on Redis Instance.
  4. RABBIT_MQ_URL - URI to connect on RabbitMQ protocol.
  5. CLIENT_SECRET_KEY and CLIENT_AUDIENCE for OAuth2 Integration.

Running the Docker Containers

Note

If you do not have a PostgreSQL instance with the Brazil Data Cube data model up and running, you will need to prepare one before following the rest of this documentation.

In order to launch a PostgreSQL container, you can rely on the docker-compose service file. The following command will start a new container with PostgreSQL:

$ docker-compose up -d postgres

After launching the container, please, refer to the section "Prepare the Database System" in the INSTALL.rst documentation. This will guide you in the preparation of the PostgreSQL setup.

Note

Since docker will map the services to the default system ports on localhost, make sure you are not running PostgreSQL, Redis or RabbitMQ on those ports in your system.

Once everything is properly configured, use the following command to start all the services:

docker-compose up -d

Note

Refer to the :doc:`usage` documentation in order to use the collection builder services.