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
b2dc672
commit e9ff45f
Showing
4 changed files
with
88 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,73 @@ | ||
{ | ||
"cosmos-installer": { | ||
"form": [ | ||
{ | ||
"name": "adminOnly", | ||
"label": "Do you want to make this service admin only?", | ||
"initialValue": true, | ||
"type": "checkbox" | ||
} | ||
], | ||
"translation": { | ||
"de": { | ||
"form.adminOnly.label": "Möchten Sie diesen Dienst nur für Administratoren zugänglich machen?" | ||
} | ||
} | ||
}, | ||
"minVersion": "0.16.0", | ||
"services": { | ||
"{ServiceName}": { | ||
"container_name": "{ServiceName}", | ||
"labels": { | ||
"cosmos-force-network-secured": "true", | ||
"cosmos-auto-update": "true", | ||
"cosmos-icon": "https://aseracorp.github.io/resiSTORE/servapps/modbus2mqtt/icon.png", | ||
"cosmos-stack": "{ServiceName}", | ||
"cosmos-stack-main": "{ServiceName}" | ||
}, | ||
"image": "modbus2mqtt/modbus2mqtt-{CPU_ARCH}", | ||
"restart": "unless-stopped", | ||
"volumes": [ | ||
{ | ||
"source": "{ServiceName}-data", | ||
"target": "/data", | ||
"type": "volume" | ||
} | ||
], | ||
"UID": 1000, | ||
"GID": 1000, | ||
"environment": [ | ||
"PUID=1000", | ||
"PGID=1000", | ||
"TZ=Europe/Zurich", | ||
"DEBUG=httpserver config", | ||
"MODBUS2MQTT_CONFIG_URL=http://{ServiceName}:3000" | ||
], | ||
"links": [ | ||
"Mosquitto" | ||
], | ||
"routes": [ | ||
{ | ||
"name": "{ServiceName}", | ||
"description": "Expose {ServiceName}-Configuration to the web", | ||
"useHost": true, | ||
"target": "http://{ServiceName}:3000", | ||
"mode": "SERVAPP", | ||
"Timeout": 14400000, | ||
"ThrottlePerMinute": 12000, | ||
"BlockCommonBots": true, | ||
"SmartShield": { | ||
"Enabled": true | ||
}, | ||
"AuthEnabled": true | ||
{if Context.adminOnly} | ||
, "AuthAdmin": true | ||
{/if} | ||
} | ||
], | ||
"group_add": [ | ||
"dialout" | ||
] | ||
} | ||
} | ||
} |
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,15 @@ | ||
{ | ||
"name": "HA-enoceanmqtt", | ||
"description": "Gateway Modbus to MQTT", | ||
"longDescription": "<p></p>", | ||
"translation": { | ||
"de": { | ||
"description": "Gateway von Modbus auf MQTT", | ||
"longDescription": "<p></p>" | ||
} | ||
}, | ||
"tags": ["smart home", "home automation", "IoT", "Raspberry Pi", "local server", "privacy", "control", "automation", "devices", "services", "home assistant"], | ||
"repository": "https://github.com/modbus2mqtt/server", | ||
"image": "https://hub.docker.com/r/modbus2mqtt/modbus2mqtt-{CPU_ARCH}", | ||
"supported_architectures": ["amd64", "aarch64", "armv7"] | ||
} |
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.