Skip to content

Commit

Permalink
app: add a ttyd (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
CorrectRoadH authored Jul 8, 2024
1 parent ef88707 commit 061b9cc
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions Apps/ttydbridge/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: ttydbridge
services:
ttydbridge:
command: []
container_name: ttydbridge
deploy:
resources:
reservations:
memory: 8M
environment:
- EXEC_DIR=/opt
- HTTP_PASSWORD=password
- HTTP_USERNAME=admin
- PORT=2222
- START_COMMAND=bash
image: cp0204/ttydbridge:v0.0.3
labels:
icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/TtydBridge/icon.png
pid: host
privileged: true
restart: unless-stopped
volumes:
- type: bind
source: /opt
target: /opt
bind:
create_host_path: true
network_mode: bridge
x-casaos:
architectures:
- amd64
- arm
- arm64
author: Cp0204
category: Developer
description:
en_us: |
ttydBridge acts as a "bridge" to the host environment, allowing you to easily access and use the host terminal in a web. It is built on ttyd and runs in a containerized manner, providing a secure and convenient remote endpoint experience.
zh_cn: |
ttydBridge 如一座“桥”,连通了宿主机环境,让你在浏览器中轻松访问和使用宿主机终端。它基于 ttyd 构建,并以容器化的方式运行,提供了安全、便捷的远程终端体验。
developer: Cp0204
hostname: ""
icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/TtydBridge/icon.png
index: /
main: ttydbridge
port_map: "2222"
scheme: http
screenshot_link:
- https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/TtydBridge/screenshot-1.png
- https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/TtydBridge/screenshot-2.png
store_app_id: ttydbridge
tagline:
en_us: Easy access to the host terminal in web
zh_cn: 在浏览器中轻松访问宿主机终端
tips:
before_install:
en_us: >
1. You can set the `HTTP_USERNAME` and `HTTP_PASSWORD` variables to modify or remove HTTP authentication.
2. The default username and password are `admin` and `password`.
[Official DOC](https://hub.docker.com/r/cp0204/ttydbridge)
zh_cn: |
1. 可以设置 `HTTP_USERNAME` `HTTP_PASSWORD` 变量,修改与删掉 HTTP 鉴权。
2. 默认的账号密码为 `admin` `password`。
[官方文档](https://hub.docker.com/r/cp0204/ttydbridge)
title:
en_us: ttydBridge
Binary file added Apps/ttydbridge/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 Apps/ttydbridge/screenshot-1.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 Apps/ttydbridge/screenshot-2.png
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 061b9cc

Please sign in to comment.