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 e76e18d
Showing
4 changed files
with
123 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,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 | ||
} | ||
} | ||
} | ||
} |
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": "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" | ||
] | ||
} |
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.