diff --git a/stacks/microsoft-oms/docker-stack.yml b/stacks/microsoft-oms/docker-stack.yml new file mode 100644 index 0000000..bd8fcfa --- /dev/null +++ b/stacks/microsoft-oms/docker-stack.yml @@ -0,0 +1,17 @@ +version: '3' + +services: + oms: + image: microsoft/oms + volumes: + - /var/run/docker.sock:/var/run/docker.sock + environment: + WSID: ${AZURE_WORKSPACE_ID} + KEY: ${AZURE_PRIMARY_KEY} + deploy: + mode: global + restart_policy: + condition: on-failure + ports: + - "25225:25225" + - "25224:25224/udp" diff --git a/templates.json b/templates.json index 292d0fd..5b1e3aa 100644 --- a/templates.json +++ b/templates.json @@ -768,6 +768,30 @@ } ] }, + { + "type": "stack", + "title": "Microsoft OMS Agent", + "description": "Microsoft Operations Management Suite Linux agent.", + "categories": ["OPS"], + "platform": "linux", + "logo": "https://portainer.io/images/logos/microsoft.png", + "repository": { + "url": "https://github.com/portainer/templates", + "stackfile": "stacks/microsoft-oms/docker-stack.yml" + }, + "env": [ + { + "name": "AZURE_WORKSPACE_ID", + "label": "Workspace ID", + "description": "Azure Workspace ID" + }, + { + "name": "AZURE_PRIMARY_KEY", + "label": "Primary key", + "description": "Azure primary key" + } + ] + }, { "title": "Sematext Docker Agent", "type": "stack",