Administration¶
Deployment¶
To deploy the Graph API Service, follow these steps:
- Ensure all environment variables are configured in the
.envfile. -
Build the Docker image:
docker-compose build -
Start the container:
docker-compose up
System Administration¶
Environment Variables¶
PORT: The port on which the service runs.APP_NAME: The name of the application.APP_VERSION: The version of the application.SERVICE_API_KEY: The API key for authentication.FILTERS_SERVICE_APIKEY: The API key for the filters service.FILTERS_ENDPOINT: The endpoint for the filters service.DATASOURCE_FQDN: The fully qualified domain name of the database.SERVICE_BD_NAME: The name of the database.SERVICE_BD_SCHEMA: The schema name in the database.DATASOURCE_USR: The database user.DATASOURCE_PWD: The database password.SERVICE_BD_SSL: The SSL mode for the database connection.GRAPHAPI_CLIENT_ID: The client ID for the Graph API.GRAPHAPI_CLIENT_SECRET: The client secret for the Graph API.GRAPHAPI_TENANT_ID: The tenant ID for the Graph API.
Logs¶
Logs are printed to the console. In production, it is recommended to redirect logs to a file or a logging service.