Skip to content

Commit

Permalink
new App: Scada-LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
madejackson committed Oct 21, 2024
1 parent d98f9a9 commit e76e18d
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 0 deletions.
105 changes: 105 additions & 0 deletions servapps/Scada-LTS/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"cosmos-installer": {
},
"services": {
"{ServiceName}": {
"image": "scadalts/scadalts:latest",
"container_name": "{ServiceName}",
"restart": "unless-stopped",
"UID": 1000,
"GID": 1000,
"privileged": true,
"command": "/usr/bin/wait-for-it --host=database --port=3306 --timeout=30 --strict -- /usr/local/tomcat/bin/catalina.sh run",
"depends_on": {
"{ServiceName}-db": {
"condition": "service_healthy",
"restart": true
}
},
"security_opt": [
"no-new-privileges:true"
],
"environment": [
"CATALINA_OPTS=-Xmx1G -Xms1G"
],
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true",
"cosmos-icon": "https://aseracorp.github.io/resiSTORE/servapps/Scada-LTS/icon.png",
"cosmos-stack": "{ServiceName}",
"cosmos-stack-main": "{ServiceName}"
},
"routes": [
{
"name": "{ServiceName}",
"description": "{ServiceName} im Netzwerk veröffentlichen",
"useHost": true,
"target": "http://{ServiceName}:8080",
"mode": "SERVAPP",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
},
"AuthEnabled": true
}
],
"volumes": [
{
"source": "{ServiceName}-tomcat-logs",
"target": "/usr/local/tomcat/logs",
"type": "volume"
},
{
"source": "{ServiceName}-db_conf",
"target": "/etc/mysql",
"type": "volume"
}
],
"links": [
"{ServiceName}-db"
]
},
"{ServiceName}-db": {
"image": "mysql/mysql-server:8.0.32",
"container_name": "{ServiceName}-db",
"restart": "unless-stopped",
"UID": 1000,
"GID": 1000,
"security_opt": [
"no-new-privileges:true"
],
"environment": [
"MYSQL_ROOT_PASSWORD=root",
"MYSQL_USER=root",
"MYSQL_PASSWORD=root",
"MYSQL_DATABASE=scadalts"
],
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true",
"cosmos-stack": "{ServiceName}",
"cosmos-stack-main": "{ServiceName}"
},
"volumes": [
{
"source": "{ServiceName}-db_data",
"target": "/var/lib/mysql",
"type": "volume"
},
{
"source": "{ServiceName}-db_conf",
"target": "/etc/mysql",
"type": "volume"
}
],
"command": "--log_bin_trust_function_creators=1",
"healthcheck": {
"test": ["CMD", "mysqladmin" ,"ping", "-h", "localhost"],
"timeout": 20,
"retries": 10
}
}
}
}
18 changes: 18 additions & 0 deletions servapps/Scada-LTS/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "openPLC",
"description": "openPLC Runtime v3: A multi-hardware Programmable Logic Controller Suite based on Beremiz IDE",
"longDescription": "OpenPLC is an open-source Programmable Logic Controller that is based on an easy to use software. It is the first fully functional standardized open source PLC, both in software and in hardware. The OpenPLC project was created in accordance with the IEC 61131-3 standard, which defines the basic software architecture and programming languages for PLCs.",
"translation": {
"de": {
"description": "openPLC Runtime v3: Eine Multi-Hardware-Suite für speicherprogrammierbare Steuerungen basierend auf Beremiz IDE",
"longDescription": "OpenPLC ist eine quelloffene speicherprogrammierbare Steuerung, die auf einer einfach zu bedienenden Software basiert. Es ist die erste voll funktionsfähige, standardisierte Open-Source-SPS, sowohl in Software als auch in Hardware. Das OpenPLC-Projekt wurde in Übereinstimmung mit dem IEC 61131-3-Standard entwickelt, der die grundlegende Software-Architektur und Programmiersprachen für SPSen definiert."
}
},
"tags": ["smart home", "home automation", "IoT", "Raspberry Pi", "local server", "privacy", "control", "automation", "devices", "services","Developer"],
"repository": "https://github.com/aseracorp/OpenPLC_v3",
"image": "ghcr.io/aseracorp/openplc_v3:latest",
"supported_architectures": [
"amd64",
"arm64"
]
}
Binary file added servapps/Scada-LTS/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Scada-LTS/screenshots/screenshot-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e76e18d

Please sign in to comment.