forked from azukaar/cosmos-servapps-official
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d98f9a9
commit c6f7bcb
Showing
4 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{ | ||
"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=-Xmx2G -Xms2G" | ||
], | ||
"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, | ||
"usePath": true, | ||
"usePathPrefix": true, | ||
"PathPrefix": "/Scada-LTS/", | ||
"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" | ||
} | ||
] | ||
}, | ||
"{ServiceName}-db": { | ||
"image": "mysql/mysql-server:8.0.32", | ||
"container_name": "{ServiceName}-db", | ||
"hostname": "database", | ||
"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" | ||
} | ||
], | ||
"links": [ | ||
"{ServiceName}" | ||
], | ||
"command": "--log_bin_trust_function_creators=1", | ||
"healthcheck": { | ||
"test": ["CMD", "mysqladmin" ,"ping", "-h", "localhost"], | ||
"timeout": 20, | ||
"retries": 10 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "Scada-LTS", | ||
"description": "Scada-LTS is an Open Source, web-based, multi-platform solution for building your own SCADA (Supervisory Control and Data Acquisiton) system.", | ||
"longDescription": "Scada-LTS comes bundled with many years of experience in real-world SCADA applications for Energy, Water Distribution, Manufacturing Plants, Home Automation, Laboratories... you name it!<br/>Scada-LTS includes everything you need to get started in a few minutes: Communication Protocols, the data acquisition engine, Alarms & Events, HMI Builder and much more.<br/>Our goal is to provide a rock-solid solution for mission-critical applications, while sharing knowledge and benefitting from an international and ever-growing community.", | ||
"translation": { | ||
"de": { | ||
"description": "Scada-LTS ist eine Open Source, webbasierte, plattformübergreifende Lösung zum Aufbau Ihres eigenen SCADA-Systems (Supervisory Control and Data Acquisiton).", | ||
"longDescription": "Scada-LTS kommt gebündelt mit vielen Jahren Erfahrung in realen SCADA-Anwendungen für Energie, Wasserversorgung, Produktionsanlagen, Heimautomatisierung, Laboratorien ... Sie wissen schon! Kommunikationsprotokolle, die Datenerfassungs-Engine, Alarme & Ereignisse, HMI Builder und vieles mehr.<br/>Unser Ziel ist es, eine grundsolide Lösung für unternehmenskritische Anwendungen zu bieten, während wir unser Wissen teilen und von einer internationalen und ständig wachsenden Gemeinschaft profitieren." | ||
} | ||
}, | ||
"tags": ["smart home", "home automation", "IoT", "Raspberry Pi", "local server", "privacy", "control", "automation", "devices", "services","Developer"], | ||
"repository": "https://hub.docker.com/r/scadalts/scadalts", | ||
"image": "scadalts/scadalts:latest", | ||
"supported_architectures": [ | ||
"amd64", | ||
"arm64" | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.