- generate SSL certificates by running cert-gen docker-compose container
docker-compose -f cert-gen/docker-compose.yml up && docker-compose -f cert-gen/docker-compose.yml down
- Update secret for apm
apm-server.secret_token="{very strong secret dont share with anyone}"
- generate passwords
docker-compose up -d
docker-compose exec apm-elasticsearch ./bin/elasticsearch-setup-passwords auto -u "https://localhost:9200"
- configure passwords for services
output.elasticsearch.password={elastic user password}
apm-server.kibana.password={apm_system user password}
elasticsearch.password: {kibana user password}
xpack.encryptedSavedObjects.encryptionKey: "{very strong secret dont share with anyonet}"
xpack.monitoring.elasticsearch.password: '{elasticsearch user password}'
password => "{elasticsearch user password}"
- restart containers for changes to take effect
docker-compose down && docker-compose up -d
- Navigate to https://localhost:5601/ and login with elastic user credentials