Add fleetserver
This commit is contained in:
@@ -34,3 +34,19 @@ services:
|
||||
stdin_open: true
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
|
||||
elasticagent:
|
||||
image: 'docker.elastic.co/elastic-agent/elastic-agent:8.17.0'
|
||||
container_name: elastic-agent-ubuntu-host
|
||||
restart: always
|
||||
hostname: elastic-agent-ubuntu-host.maison
|
||||
ports:
|
||||
- '8220:8220'
|
||||
environment:
|
||||
- FLEET_SERVER_ENABLE=1
|
||||
- FLEET_SERVER_ELASTICSEARCH_HOST=https://elasticsearch.node01:9200
|
||||
- FLEET_SERVER_SERVICE_TOKEN=AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva2VuLTE3NzA1NjU2MzI5NjM6NGsyUm9NSDNRNk80eW9sdTI3MWdSUQ
|
||||
- FLEET_SERVER_POLICY_ID=fleet-server-policy
|
||||
- FLEET_SERVER_ELASTICSEARCH_CA_TRUSTED_FINGERPRINT=ffb30d55e002c339b70ed66f82e6645fc44a515add3abf2932b13057ea09262e
|
||||
volumes:
|
||||
- '/Var/run/docker.sock:/var/run/docker.sock'
|
||||
|
||||
Reference in New Issue
Block a user