This page will walk you through installing Maestro using Docker. Ensure you've completed all the applicable prerequisite steps before starting the installation.
Based on your configuration, create a .env.maestro
file with the necessary environment variables. Here's an example of a completed .env.maestro
file:
# ============================# Server configuration# ============================LOGGING_LEVEL_ROOT=DEBUGSERVER_PORT=11235SPRING_MVC_ASYNC_REQUESTTIMEOUT=-1MAESTRO_FAILURELOG_DIR=/app/app-dataMAESTRO_NOTIFICATIONS_SLACK_ENABLED=false# ============================# Elasticseach Integration (Required)# ============================MAESTRO_ELASTICSEARCH_CLIENT_BASICAUTH_ENABLED=trueMAESTRO_ELASTICSEARCH_CLIENT_BASICAUTH_PASSWORD=MAESTRO_ELASTICSEARCH_CLIENT_BASICAUTH_USER=elasticMAESTRO_ELASTICSEARCH_CLIENT_CONNECTIONTIMEOUT=300000MAESTRO_ELASTICSEARCH_CLIENT_SOCKETTIMEOUT=300000MAESTRO_ELASTICSEARCH_CLIENT_TRUSTSELFSIGNEDCERT=trueMAESTRO_ELASTICSEARCH_CLUSTERNODES_0=http://host.docker.internal:9200MAESTRO_ELASTICSEARCH_INDEXES_ANALYSISCENTRIC_ENABLED=falseMAESTRO_ELASTICSEARCH_INDEXES_FILE_CENTRIC_NAME=file_centric_1.0# ============================# Song Integration (Required)# ============================MAESTRO_REPOSITORIES_0_CODE=song.collabMAESTRO_REPOSITORIES_0_COUNTRY=CAMAESTRO_REPOSITORIES_0_NAME=local songMAESTRO_REPOSITORIES_0_ORGANIZATION=overtureMAESTRO_REPOSITORIES_0_URL=http://host.docker.internal:8080MAESTRO_SONG_PAGELIMIT=50MAESTRO_SONG_TIMEOUTSEC_ANALYSIS=3600MAESTRO_SONG_TIMEOUTSEC_STUDY=3600# ============================# Kafka Event Management Configuration# ============================SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS=host.docker.internal:9092SPRING_CLOUD_STREAM_BINDINGS_SONGINPUT_DESTINATION=song_analysis
Start the Maestro container using the docker run command, specifying the mounted .env.maestro
file:
For Linux (Recommended)
docker run --env-file .env.maestro --network=host -d -p 11235:11235 ghcr.io/overture-stack/maestro-server:edge
For Mac and Windows
docker run --env-file .env.maestro -p 11235:11235 --name maestro ghcr.io/overture-stack/maestro:edge
Maestro should now be running and accessible at http://localhost:11235/api-docs
.
Before you proceed with the Maestro installation, be aware that there are several configurations for a Maestro server:
Component | Description | Requirement |
---|---|---|
Elasticsearch index mapping and client | Set the index mapping and configure connection parameters and error handling mechanisms. | Required |
Kafka Brokers | Specify the location where you've deployed the Kafka broker for event-based indexing. | Required |
Slack Integration | Send notifications through a Slack webhook integration. | Optional |
Exclusion Rules | Omit specific analyses from being indexed | Optional |
For detailed information on configuration options and guidelines, including setting up your environment variables file, refer to our configuration section,