diff --git a/edge/litmusedge_dfd/docker-compose.yml b/edge/litmusedge_dfd/docker-compose.yml new file mode 100644 index 00000000..9b364e08 --- /dev/null +++ b/edge/litmusedge_dfd/docker-compose.yml @@ -0,0 +1,92 @@ +networks: + devices: + driver: bridge + driver_opts: + com.docker.network.enabled_ipv6: "false" + ipam: + driver: default + config: + - subnet: 172.172.0.0/24 + +services: + le: + image: litmusedge.azurecr.io/litmusedge-std-docker:latest + container_name: dfd-le + networks: + devices: + ipv4_address: 172.172.0.2 + ports: + - "8443:443" + - "8086:8086" + restart: unless-stopped + simulation_servers: + image: litmusedge.azurecr.io/litmus/simulation_servers:latest + networks: + devices: + ipv4_address: 172.172.0.5 + ports: + - "502-505:502-505" + - "4840-4843:4840-4843" + - "102-105:102-105" + restart: always + logging: + driver: "json-file" + options: + max-size: "50m" + + mssql: + image: litmusedge.azurecr.io/litmus/demo_mssql:latest + ports: + - "1433:1433" + networks: + devices: + ipv4_address: 172.172.0.50 + labels: + - networks=bridge + restart: always + logging: + driver: "json-file" + options: + max-size: "10m" + mysql: + image: litmusedge.azurecr.io/litmus/demo_mysql:latest + ports: + - "3306:3306" + networks: + devices: + ipv4_address: 172.172.0.49 + environment: + MYSQL_ROOT_PASSWORD: Demo1234 + restart: always + logging: + driver: "json-file" + options: + max-size: "10m" + grafana: + image: litmusedge.azurecr.io/litmus/demo_grafana:latest + environment: + HOST_IP: 172.172.0.1 + GF_LOG_LEVEL: warn + ports: + - "3000:3000" + user: 0:0 + networks: + devices: + ipv4_address: 172.172.0.51 + labels: + - networks=bridge + restart: always + logging: + driver: "json-file" + options: + max-size: "10m" + template-applyer: + image: litmusedge.azurecr.io/litmus/template_applyer:latest + environment: + - EDGE_API_TOKEN=init + - EDGE_URL=172.172.0.1:8443 + - ACTION=Apply + - DEPLOYMENT_METHOD=docker + - MSSQL_URL=172.172.0.1 + depends_on: + - le diff --git a/templates.json b/templates.json index 06abb421..86487cb0 100644 --- a/templates.json +++ b/templates.json @@ -1531,6 +1531,19 @@ "url": "https://github.com/portainer/templates", "stackfile": "edge/litmus_edge/docker-compose.yml" } + }, + { + "id": 71, + "type": 3, + "title": "Litmus Edge Digital Factory Demo", + "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.", + "categories": ["edge"], + "platform": "linux", + "logo": "https://www.gravatar.com/avatar/3c545a4e847eb960bfc9bf5bf877c979?s=120&r=g&d=404", + "repository": { + "url": "https://github.com/portainer/templates", + "stackfile": "edge/litmusedge_dfd/docker-compose.yml" + } } ] }