Skip to content

Commit

Permalink
feat(templates): add OMS stack template
Browse files Browse the repository at this point in the history
  • Loading branch information
deviantony committed May 28, 2018
1 parent ab0a25d commit 72b20dd
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
17 changes: 17 additions & 0 deletions stacks/microsoft-oms/docker-stack.yml
Original file line number Diff line number Diff line change
@@ -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"
24 changes: 24 additions & 0 deletions templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,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/deviantony/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",
Expand Down

0 comments on commit 72b20dd

Please sign in to comment.