feat(templates): add Microsoft OMS agent template
This commit is contained in:
17
stacks/microsoft-oms/docker-stack.yml
Normal file
17
stacks/microsoft-oms/docker-stack.yml
Normal file
@@ -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"
|
||||||
@@ -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",
|
"title": "Sematext Docker Agent",
|
||||||
"type": "stack",
|
"type": "stack",
|
||||||
|
|||||||
Reference in New Issue
Block a user