Add fleetserver

This commit is contained in:
2026-02-08 16:56:23 +01:00
parent 5e01216be8
commit e5e15f5d18
+16
View File
@@ -34,3 +34,19 @@ services:
stdin_open: true stdin_open: true
depends_on: depends_on:
- elasticsearch - 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'