Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ttydbridge): update auth method #647

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Apps/ttydbridge/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: ttydbridge
services:
ttydbridge:
command: []
container_name: ttydbridge
deploy:
resources:
reservations:
memory: 8M
environment:
- EXEC_DIR=/opt
- HTTP_PASSWORD=password
- HTTP_USERNAME=admin
# - HTTP_PASSWORD=password
# - HTTP_USERNAME=admin
- PORT=2222
- START_COMMAND=bash
- START_COMMAND=login
image: cp0204/ttydbridge:v0.0.3
labels:
icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/ttydbridge/icon.png
Expand Down Expand Up @@ -55,15 +54,15 @@ x-casaos:
tips:
before_install:
en_us: >
1. You can set the `HTTP_USERNAME` and `HTTP_PASSWORD` variables to modify or remove HTTP authentication.
1. Default to using Linux system user authentication.

2. The default username and password are `admin` and `password`.
2. You can increase HTTP authentication by setting the `HTTP_USERNAME` and `HTTP_PASSWORD` variables.

[Official DOC](https://hub.docker.com/r/cp0204/ttydbridge)
zh_cn: |
1. 可以设置 `HTTP_USERNAME` `HTTP_PASSWORD` 变量,修改与删掉 HTTP 鉴权
1. 默认使用 Linux 系统用户鉴权

2. 默认的账号密码为 `admin` `password`
2. 可以通过设置 `HTTP_USERNAME` `HTTP_PASSWORD` 变量,增加 HTTP 鉴权

[官方文档](https://hub.docker.com/r/cp0204/ttydbridge)
title:
Expand Down
Loading