diff --git a/Apps/Twingate/appfile.json b/Apps/Twingate/appfile.json new file mode 100644 index 0000000..ff57bcc --- /dev/null +++ b/Apps/Twingate/appfile.json @@ -0,0 +1,85 @@ +{ + "version": "1.0", + "title": "Twingate", + "name": "twingate-connector", + "icon": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Twingate/icon.png", + "tagline": "Twingate Connector for CasaOS", + "overview": "It's a connector for Twingate", + "thumbnail": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Twingate/thumbnail.png", + "screenshots": [ + ], + "category": [ + "Network" + ], + "developer": { + "name": "Twingate", + "website": "https://www.twingate.com", + "donate_text": "", + "donate_link": "" + }, + "adaptor": { + "name": "Shubhankar Trivedi", + "website": "https://shubhankartrivedi.com", + "donate_text": "", + "donate_link": "" + }, + "support": "https://help.twingate.com/hc/en-us", + "website": "https://www.twingate.com", + "container": { + "image": "twingate/connector:1", + "shell": "", + "privileged": false, + "network_model": "default", + "web_ui": {}, + "health_check": "", + "envs": [ + { + "name": "TWINGATE_NETWORK", + "value": "rasp" + }, + { + "name": "TWINGATE_ACCESS_TOKEN", + "value": "" + }, + { + "name": "TWINGATE_REFRESH_TOKEN", + "value": "" + }, + { + "name": "TWINGATE_LABEL_HOSTNAME", + "value": "`hostname`" + } + ], + "ports": [], + "volumes": [], + "devices": [], + "constraints": { + "min_memory": 0, + "min_storage": 0 + }, + "restart_policy": "unless-stopped", + "sysctls": [ + { + "key": "net.ipv4.ping_group_range", + "value": "0 2147483647" + } + ], + "cap_add": [], + "labels": [] + }, + "abilities": { + "notification": false, + "widgets": false, + "authentication": false, + "search": false, + "upnp": false + }, + "tips": { + "before_install": [] + }, + "changelog": { + "latest_updates": "", + "url": "" + }, + "latest_update_date": "1667464530" +} \ No newline at end of file diff --git a/Apps/Twingate/docker-compose.yml b/Apps/Twingate/docker-compose.yml new file mode 100644 index 0000000..f10ed1d --- /dev/null +++ b/Apps/Twingate/docker-compose.yml @@ -0,0 +1,73 @@ +name: twingate-connector +services: + twingate-connector: + image: twingate/connector:1 + container_name: twingate-connector + command: + - /connectord + environment: + TWINGATE_NETWORK: rasp + TWINGATE_ACCESS_TOKEN: "" + TWINGATE_REFRESH_TOKEN: "" + TWINGATE_LABEL_HOSTNAME: ${HOSTNAME} + + restart: unless-stopped + sysctls: + net.ipv4.ping_group_range: "0 2147483647" + ports: [] + volumes: [] + devices: [] + cap_add: [] + network_mode: default + privileged: false + cpu_shares: 90 + x-casaos: + envs: + - container: TWINGATE_NETWORK + description: + en_us: "" + - container: TWINGATE_ACCESS_TOKEN + description: + en_us: "" + - container: TWINGATE_REFRESH_TOKEN + description: + en_us: "" + - container: TWINGATE_LABEL_HOSTNAME + description: + en_us: "" + - container: PATH + description: + en_us: "" + - container: SSL_CERT_FILE + description: + en_us: "" + - container: TWINGATE_API_ENDPOINT + description: + en_us: "" + deploy: + resources: + reservations: + memory: 500M # Modify as needed since the original command didn't specify memory reservation + +x-casaos: + architectures: + - amd64 + - arm64 + - arm + main: twingate-connector + author: Shubhankar Trivedi + category: Network + description: + en_us: It's a connector for Twingate". + developer: Twingate + icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Twingate/icon.png + screenshot_link: + tagline: + en_us: Twingate Connector for CasaOS + thumbnail: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Twingate/thumbnail.png + tips: {} + title: + en_us: Twingate + hostname: "" + index: / + port_map: "" diff --git a/Apps/Twingate/icon.png b/Apps/Twingate/icon.png new file mode 100644 index 0000000..6fd25be Binary files /dev/null and b/Apps/Twingate/icon.png differ diff --git a/Apps/Twingate/thumbnail.png b/Apps/Twingate/thumbnail.png new file mode 100644 index 0000000..904b7d8 Binary files /dev/null and b/Apps/Twingate/thumbnail.png differ