Please, refer to the section "Setting up the Credentials for EO Data Providers" in the :doc:`config` documentation.
Please, refer to the section "Setting up Auxiliary Data for Surface Reflectance Processors" in the :doc:`config` documentation.
Open and edit docker-compose.yml with the following variables:
- DATA_DIR - Path to store collections.
- SQLALCHEMY_DATABASE_URI - BDC Collection Builder Database URI.
- REDIS_URL - URI to connect on Redis Instance.
- RABBIT_MQ_URL - URI to connect on RabbitMQ protocol.
- CLIENT_SECRET_KEY and CLIENT_AUDIENCE for OAuth2 Integration.
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.