Skip to content

Commit 40cc7a8

Browse files
authored
Add Litmus Edge Digital Factory Demo (#243)
* Create docker-compose.yml * Update templates.json add Litmus Edge Digital Factory Demo * Update templates.json * Update templates.json * Update templates.json add capacity requirements * Update templates.json
1 parent d84ba5d commit 40cc7a8

File tree

2 files changed

+105
-0
lines changed

2 files changed

+105
-0
lines changed
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
networks:
2+
devices:
3+
driver: bridge
4+
driver_opts:
5+
com.docker.network.enabled_ipv6: "false"
6+
ipam:
7+
driver: default
8+
config:
9+
- subnet: 172.172.0.0/24
10+
11+
services:
12+
le:
13+
image: litmusedge.azurecr.io/litmusedge-std-docker:latest
14+
container_name: dfd-le
15+
networks:
16+
devices:
17+
ipv4_address: 172.172.0.2
18+
ports:
19+
- "8443:443"
20+
- "8086:8086"
21+
restart: unless-stopped
22+
simulation_servers:
23+
image: litmusedge.azurecr.io/litmus/simulation_servers:latest
24+
networks:
25+
devices:
26+
ipv4_address: 172.172.0.5
27+
ports:
28+
- "502-505:502-505"
29+
- "4840-4843:4840-4843"
30+
- "102-105:102-105"
31+
restart: always
32+
logging:
33+
driver: "json-file"
34+
options:
35+
max-size: "50m"
36+
37+
mssql:
38+
image: litmusedge.azurecr.io/litmus/demo_mssql:latest
39+
ports:
40+
- "1433:1433"
41+
networks:
42+
devices:
43+
ipv4_address: 172.172.0.50
44+
labels:
45+
- networks=bridge
46+
restart: always
47+
logging:
48+
driver: "json-file"
49+
options:
50+
max-size: "10m"
51+
mysql:
52+
image: litmusedge.azurecr.io/litmus/demo_mysql:latest
53+
ports:
54+
- "3306:3306"
55+
networks:
56+
devices:
57+
ipv4_address: 172.172.0.49
58+
environment:
59+
MYSQL_ROOT_PASSWORD: Demo1234
60+
restart: always
61+
logging:
62+
driver: "json-file"
63+
options:
64+
max-size: "10m"
65+
grafana:
66+
image: litmusedge.azurecr.io/litmus/demo_grafana:latest
67+
environment:
68+
HOST_IP: 172.172.0.1
69+
GF_LOG_LEVEL: warn
70+
ports:
71+
- "3000:3000"
72+
user: 0:0
73+
networks:
74+
devices:
75+
ipv4_address: 172.172.0.51
76+
labels:
77+
- networks=bridge
78+
restart: always
79+
logging:
80+
driver: "json-file"
81+
options:
82+
max-size: "10m"
83+
template-applyer:
84+
image: litmusedge.azurecr.io/litmus/template_applyer:latest
85+
environment:
86+
- EDGE_API_TOKEN=init
87+
- EDGE_URL=172.172.0.1:8443
88+
- ACTION=Apply
89+
- DEPLOYMENT_METHOD=docker
90+
- MSSQL_URL=172.172.0.1
91+
depends_on:
92+
- le

templates.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,19 @@
15311531
"url": "https://github.com/portainer/templates",
15321532
"stackfile": "edge/litmus_edge/docker-compose.yml"
15331533
}
1534+
},
1535+
{
1536+
"id": 71,
1537+
"type": 3,
1538+
"title": "Litmus Edge Digital Factory Demo",
1539+
"description": "Demo System for Litmus Edge. Litmus Edge is an edge data platform that enables industrial AI at scale. It connects, processes, and analyzes real-time OT data at the edge to power smart manufacturing. Note: Requires 5GB Disk Space / 3GB RAM available on the Host for deployment to succeed.",
1540+
"categories": ["edge"],
1541+
"platform": "linux",
1542+
"logo": "https://www.gravatar.com/avatar/3c545a4e847eb960bfc9bf5bf877c979?s=120&r=g&d=404",
1543+
"repository": {
1544+
"url": "https://github.com/portainer/templates",
1545+
"stackfile": "edge/litmusedge_dfd/docker-compose.yml"
1546+
}
15341547
}
15351548
]
15361549
}

0 commit comments

Comments
 (0)